Did the trick with dataDescriptor atribute from Tree Control.

Hope this helps someone else in future references.

Regards,

PS

On Tue, Jul 28, 2009 at 7:03 PM, Pedro Sena <[email protected]> wrote:

> Hi Guys,
>
> I have a little doubt about Tree Control:
>
> Supposing I'm having the following xml:
>
> <root>
>    <plant name="Plant 1">
>       <machine name="Machine 1">
>          <item name="Item 1" />
>       </machine>
>    </plant>
> </root>
>
> I wanna display just Plant and Machine inside it. I don't wanna display the
> Item node at all.
>
> I know the labelFunction where I can choose which parameter should I use to
> give the name of my tree component, but I don't know how to skip a specific
> node of my XML structure.
>
> Can someone help me with that?
>
> Thanks in advance,
>
> --
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>



-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/

Reply via email to