<div>Thanks Andreas...<br></div>
<div>But I dint get that...</div>
<div class="gmail_quote">I´m trying figure out how that allItems array and method onCheckChange should work, without success..</div>
<div class="gmail_quote">That bug occurs always that I have a sublayer with checked true and two or more sublayers with checked false...</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Please please help me :(</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">Paul</div>
<div class="gmail_quote"> </div>
<div class="gmail_quote"> </div>
<div class="gmail_quote">On Wed, Dec 9, 2009 at 6:08 AM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>I guess the problem is that allItems will be set incorrectly for some<br>layers. My patch calls onCheckChange when it finds a checked attribute<br>
on the layer node. If this is set to false, it will turn off the layer,<br>removing the layer from the params. Layers that get created after that<br>will miss that layer in their allItems array.<br><br>I don't have time to look for a solution now, but maybe the information<br>
above is enough for you to figure out one.<br>
<div class="im"><br>Regards,<br>Andreas.<br><br></div></blockquote></div>