Bug 614

Summary: [Chameleon - Widget] DHTMLMapWidget WaitImage parameter relative to nothing.
Product: Chameleon Reporter: Chris Thorne <cthorne@dmsolutions.ca>
Component: WidgetAssignee: Paul Spencer <pspencer@dmsolutions.ca>
Status: RESOLVED FIXED    
Severity: normal CC: chameleon-dev@lists.maptools.org
Priority: P2    
Version: 1.99   
Target Milestone: 1.99 beta 4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description From 2004-08-06 15:47:23
When not using the WaitImage shared resource and instead just defining the
waitimage in the DHTMLMapWidget Widget. I found that the orginal path defined in
the SharedResource could find the relative path to the service instance
spinner.gif, but for hte map widget it had to be a url to
/chameleon/images/spinner.gif inorder for the waitimage to appear.

<cwc2 type="SharedResource" name="WaitImage">
    <waitimage language="en-CA" 
               waitimage="images/spinner.gif" 
               waitimagewidth="216" 
               waitimageheight="50"/>
</cwc2>


Vs.


<cwc2 type="MapDHTMLWidget" 
      visible="true" 
      width="400" height="300" 
      allowresize="true" 
      marqueecolor="FF3333" 
      marqueewidth="2" minscale="1"       
      waitimage="http://dev1.dmsolutions.ca/chameleon/images/spinner.gif"      
      waitimagewidth="216" 
      waitimageheight="50"/>
------- Comment #1 From 2004-08-10 16:16:54 -------
Changed target to 1.99 RC 1.
------- Comment #2 From 2004-11-08 15:35:49 -------
need to use the findFile functions from chameleon.php
------- Comment #3 From 2004-11-23 14:49:23 -------
fixed in cvs.  The MapDHTML widget's waitimage parameter can now be a remote
file or a local file (both relative and absolute).  If the file is requested but
not found, the default waitimage will be used if possible and an error will be
displayed for the user (if the error widget is in the page)