[Chameleon] Mapsize widget warning

Bart van den Eijnden (OSGIS) bartvde at xs4all.nl
Thu Jun 8 11:57:42 EDT 2006


A solution could be to go to your chameleon.xml file and set 
validate_template to false.

Best regards,
Bart

Giroux, Denis wrote:

> Hi,
>
> I migrated my MapServer application from IIS to Apache for technical 
> reasons. I use the MS4W package that was available in April 2006. Now, 
> when I start the map viewer, I get the map and the following warning 
> about the MAPSIZE widget in a popup window :
>
> WARNING: following attributes are invalid for a mapsize widget: 
> POPUPSTYLERESOURCE,POPUPWIDTH,POPUPHEIGHT,TOOLBAR,STATUS,MENUBAR. The 
> widget tag was: <cwc2 type="MapSize" visible="false" 
> styleresource="TextButton" popupstyleresource="TextButton" 
> Embedded="true" PopupWidth="480" PopupHeight="240" Toolbar="false" 
> Status="false" Menubar="false" Image="icons/icon_mapsize.png" 
> ImageTip="Set Map Size" Label="Map Size"> <mapsize label="Small" 
> width="400" height="300"/> <mapsize label="Medium" width="600" 
> height="450"/> <mapsize label="Large" width="800" height="600"/> 
> <mapsize label="Custom ..." width="custom" height="custom"/> <image 
> state="normal"/> <image state="selected"/> <image state="hover"/> 
> </cwc2>.
>
> The Mapsize widget is used to select 3 different sizes of map for 
> display.
> I have tried to change the maturity level to UNKNOWN, as suggested in 
> the Application Developer's Guide, without success. I didn't get the 
> warning mentionned above when my application was running on IIS.
>
> Any suggestions to solve this problem?
> Thanks,
> Denis
>
> _________________________
>
> /* Denis Giroux, M. Sc. */
>
> GSC Northern Canada / CGC Nord du Canada
> Geological Survey of Canada / Commission géologique du Canada
> Natural Resources Canada / Ressources naturelles Canada
> 601 Booth
> Local / Room 254 
> Ottawa (Ontario)
> K1A 0E8
>
> Tel. : (613) 947-1107
> Fax : (613) 992-0190
>
> dgiroux at NRCan.gc.ca
> Internet: http://gsc.nrcan.gc.ca/ <http://gsc.nrcan.gc.ca/>
> Internet: http://www.geoserv.org <http://www.geoserv.org>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>  
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl



More information about the Chameleon mailing list