I’m currently trying out several examples amongst the one in “MyEclipse ICEfaces Tutorial”.
I followed all the steps and finally when running te example I get te following error:
javax.faces.FacesException: java.lang.IllegalArgumentException: could not find UIData referenced by attribute dataScroller@for = ‘customerDataTable’
As this indicates to the “for” attribute in the Data Paginator component, I thought removing the Data Paginator component to make sure that the error would not be displayed again. Then I tried running the app again and this time I got the following exception:
I inspected the CustomerBean.java file I created and I cannot find why I get this exception . I just followed the tutorial.
I’m using the default JDK and Tomcat engine that is built in MyEclipse Workbench Version: 6.0.1 GA Build id: 6.0.1-GA-200710 (the full installer).
Instead of using Toplink, I used Hibernate as in one of the previous tutorials I walked through (Learn to use the Java Persistence Tools (JPA)) I got several exceptions when I used Toplink in the example. Hibernate solved it.
Can someone explain to me why I get this error the CustomerBean instantiation exception and the first one on top of my post regarding the attribute dataScroller@for?