[Users] can't 'find' geoext tree nodes in a tree
Andreas Hocevar
ahocevar at opengeo.org
Thu Nov 19 22:56:27 CET 2009
Looks like a bug. Can you create a ticket and provide a stripped down
example that shows the issue?
Thanks,
Andreas.
2009/11/19, William Kyngesburye <woklist at kyngchaos.com>:
> I created a treea with a mix of plain ext nodes for static layer labels and
> groups and custom legend items, and geoext layer nodes. All nodes I've
> assigned an id.
>
> When I try to find a node later, only non-geoext nodes can be found. I've
> tried both:
>
> foundnode = layerpanel.root.findChild('id', 'somenodeid');
>
> and:
>
> foundnode = layerpanel.getNodeById('somenodeid');
>
> when it's a geoext type node, null or undefined is returned.
>
> Bug? or intended behavior?
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> Theory of the Universe
>
> There is a theory which states that if ever anyone discovers exactly what
> the universe is for and why it is here, it will instantly disappear and be
> replaced by something even more bizarrely inexplicable. There is another
> theory which states that this has already happened.
>
> -Hitchhiker's Guide to the Galaxy 2nd season intro
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
--
Von meinen Mobilgerät aus gesendet
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list