This week's book giveaways are in the Scala and Android forums. We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line! See this thread and this one for details.
A number of extensions, including RichFaces contain tree menu tags. That is the preferable approach, because these specialty tags are integrated into JSF, thus are usually simpler to code and more reliable to operate.
Of course, in the case of RichFaces, the underlying support is often accomplished using jQuery internally, but that's transparent to the developer.
An IDE is no substitute for an Intelligent Developer.
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?