[Chameleon] LegendTemplate problem - still a problem
Paul Spencer
pspencer at dmsolutions.ca
Mon Jun 27 11:33:12 EDT 2005
Joanne, it should be case-insensitive and should be considered a bug.
Cheers
Paul
McGraw, Joanne wrote:
> Actually, I take it back. In Chameleon 2.0, the controlvisibility
> attribute is still case-sensitive, except now it wants “true” rather
> than “TRUE”.
>
>
>
> What’s the ‘policy’ for these widgets and their attributes, in terms of
> their case-sensitivity? I entered a bug for it (#1102) but perhaps there
> is no firm requirement for attributes to be insensitive. I have no idea
> what the situation is in 2.2.
>
>
>
> Cheers,
>
> jtm
>
>
>
> -----Original Message-----
> *From:* chameleon-bounces at lists.maptools.org
> [mailto:chameleon-bounces at lists.maptools.org] *On Behalf Of *McGraw, Joanne
> *Sent:* Friday, June 24, 2005 12:35 PM
> *To:* chameleon at lists.maptools.org
> *Subject:* RE: [Chameleon] LegendTemplate problem
>
>
>
> For future users, the problem described below was caused by the
> case-sensitivity of the controlvisibility value in the LegendTemplate
> tag. I had “true”, but the LegendTemplate.widget.php script required
> “TRUE”. This code has since changed and is no longer a problem, but if
> you’re using a pre-2.0 Chameleon it may hold you up.
>
>
>
> Cheers,
>
> jtm
>
>
>
> -----Original Message-----
> *From:* chameleon-bounces at lists.maptools.org
> [mailto:chameleon-bounces at lists.maptools.org] *On Behalf Of *McGraw, Joanne
> *Sent:* Thursday, June 23, 2005 2:12 PM
> *To:* chameleon at lists.maptools.org
> *Subject:* [Chameleon] LegendTemplate problem
>
>
>
> Hello All,
>
>
>
> In moving a working application from one machine, my LegendTemplate has
> stopped controlling visibility. It is working on my local Windows
> machine running MapServer 4.4.1 with Chameleon 2.0 (January 11, 2005),
> but not on the Linux machine running MapServer 4.4.0-beta2 and Chameleon
> ?? (at least, pre-2.0, but I don’t know how far back. How would I find
> that out?)
>
>
>
> Anyway, checking/unchecking the layers does not update the map with
> those changes when UpdateMap called. It just keeps loading the
> mapfile’s default layers. I’ve checked the CGI stream and the correct
> layers are being sent with the legendlayername array. I feel there must
> be an error occurring somewhere along the way after it’s actually
> started the Chameleon app but before it gets to the point of actually
> applying the visibility based on the layers in legendlayername. However,
> nothing is coming up in Apache’s error_log. Is there any other place
> where errors might be getting stored? Does chameleon have a file it
> specifically writes to somewhere?
>
>
>
> Cheers,
>
> jtm
>
>
>
> Joanne T. McGraw
> Spatial Data Visualization Specialist / Spécialiste en visualisation des
> données spatiales
> Agriculture and Agri-Food Canada / Agriculture et Agroalimentaire Canada
> Telephone/Téléphone: (613) 759-6103
> Facsimile/Télécopieur: (613) 759-1937
> 960 Carling Ave, #1136
> Ottawa, Ontario
> K1A 0C6
>
> mcgrawj at agr.gc.ca <mailto:mcgrawj at agr.gc.ca>
>
>
>
> Agriculture and Agri-Food Canada - Agriculture et Agroalimentaire Canada
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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