This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The above page does not display the nodes properly(the name is not displayed, instead the userobject is printed in the page as 'demo.user@10c276' etc), but if I change the line
the code seems to work fine, but why is my EL not functioning properly, I am using tomcat - 6.0.30, RichFaces 3.3.3, I have included jstl-1.2.jar in my war lib? Also the taglib
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> throws exception saying the attribute does not accept expressions and I changed to
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%> which seems to work fine.
JSTL doesn't work for a lot of things in JSF. JSF doesn't need JSTL. Get rid of it and life will be a lot more placid.
The RichFaces tree control has an API that determines whether a give subtree is opened or closed. It can be a bit hard to understand, we have at least 2 message threads in the forum where people worked out how to use this component. So I recommend searching for them. Also get out the RichFaces documentation (PDF) and spend some time going through it in detail. It won't be easy, but it's worth it.
An IDE is no substitute for an Intelligent Developer.