[Users] Set visibility on Sub-layers

Paul james pauljame at gmail.com
Thu Dec 10 19:11:09 CET 2009


Thanks Andreas...
But I dint get that...
I´m trying figure out how that allItems array and method onCheckChange
should work, without success..
That bug occurs always that I have a sublayer with checked true and two or
more sublayers with checked false...

Please please help me :(

Paul


On Wed, Dec 9, 2009 at 6:08 AM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> Hi,
>
> I guess the problem is that allItems will be set incorrectly for some
> layers. My patch calls onCheckChange when it finds a checked attribute
> on the layer node. If this is set to false, it will turn off the layer,
> removing the layer from the params. Layers that get created after that
> will miss that layer in their allItems array.
>
> I don't have time to look for a solution now, but maybe the information
> above is enough for you to figure out one.
>
> Regards,
> Andreas.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20091210/57b1568f/attachment.htm 


More information about the Users mailing list