Bug 614 - [Chameleon - Widget] DHTMLMapWidget WaitImage parameter relative to nothing.
: [Chameleon - Widget] DHTMLMapWidget WaitImage parameter relative to nothing.
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-08-06 15:47 by
Modified: 2004-12-02 21:28 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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)