[Chameleon] LayerAttributes widget (CVS package)

Jonathon Coombes jon at cybersite.com.au
Wed Jan 11 17:10:48 EST 2006


On Wed, 2006-01-11 at 11:33 -0500, Paul Spencer wrote:
> can you send along a snippet of your template please

Hi Paul,

My fault! :)
I had the wrong attributes based on a mix up between "visible" vs.
"visibility" and the sharedresourcename string also. I now get a
drop-down list (the default view), but it is referencing a different
layer to the one I specify with the "LayerName" attribute?

On looking closer at the widget code, it tries to reference a variable
called "initlayername" using the isVarSet() function, but it is not
set and defaults to the last layer referenced in the map. How do I set
the "initlayername" variable to be set to my layer name? I assume
there is still something missing from the code her (being beta)?

Regards
Jonathon

> 
> On 10-Jan-06, at 6:26 PM, Jonathon Coombes wrote:
> 
> > Hi All,
> >
> > I am just trying out some of the CVS Chameleon widgets and came
> > across the LayerAttributes widget. However, it seems no matter how
> > I add it to my template, it gets parsed into plain text rather than
> > interpreted as a valid cwc2 widget? Has anyone use this with better
> > success? Am I doing something obviously wrong here?
> >
> > Regards
> > Jonathon
> >
> > _______________________________________________
> > 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