[Chameleon] RE: PopupCSS SharedResource

Paul Spencer pspencer at dmsolutions.ca
Wed May 3 07:16:21 EDT 2006


Dejan,

SharedResource.widget.php needs to be updated with a line of code  
that looks like:

$this->maAttributes["VALUE"] = new StringAttribute( "VALUE", false );

in the constructor near the similar line for the NAME attribute

Cheers

Paul

On 3-May-06, at 4:03 AM, Gambin Dejan wrote:

> Hi Paul,
>
> If you remember, you told me I can ignore this warning and this is
> true...but how can I get rid of this warning in PrintProduction widget
> when downloading the map?
>
> thanks
>
> dejan
>
> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Paul  
> Spencer
> Sent: April 6, 2006 8:12 AM
> To: Gambin Dejan
> Cc: chameleon at lists.maptools.org
> Subject: Re: [Chameleon] PopupCSS SharedResource
>
> Dejan,
>
> I think you can ignore the warning.  The widget SharedResource widget
> should be updated to make the value attribute legal, but it works
> without that just fine
>
> Cheers
>
> Paul
>
> On 6-Apr-06, at 7:55 AM, Gambin Dejan wrote:
>
>> Hi,
>>
>> I wanted to use my own Popup stylsheet so I defined:
>>
>> <SharedResource name="PopupCSS"
>> VALUE="skins/sample/css/sample_popup.css"/>
>>
>> ...as it is written in ApplicationDevelopersGuide. Unfotunatelly this
>> didin't work so I defined:
>>
>> <cwc2 type="SharedResource" name="PopupCSS"
>> VALUE="skins/sample/css/sample_popup.css"/>
>>
>> ...this way it work but I get the error when look into the HTML  
>> source
>> saying:
>>
>> "WARNING: following attributes are invalid for a sharedresource
>> widget:
>> VALUE.  The widget tag was: &lt;cwc2 type=&quot;SharedResource&quot;
>> name=&quot;PopupCSS&quot;
>> VALUE=&quot;skins/sample/css/sample_popup.css&quot;/&gt;."
>>
>> Is it a bug?
>>
>> regards, dejan
>>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the Chameleon mailing list