I have got an assignment of showing the parent child relation in tree/graph like component in JSF. But dont know what are the various options available.
The expanded should be good like not like windows explored tree.
As I am newbie to JSF, so I am not aware of the available options.
If you are asking specifically about GUI tree controls, there are no tree controls in the core JSF. However a number of extensions to JSF exist that do implement tree controls as well as other popular GUI control types not supported by basic HTML.
If you are asking about the JSF Component Tree object, that's pretty much a straightforward compilation of the XML that defined the View being processed.
An IDE is no substitute for an Intelligent Developer.