This content has been marked as final.
Show 4 replies
-
1. Re: Unable to compile class for JSP
blinkybill Jun 6, 2008 4:15 AM (in response to blinkybill)And full source for the page is as follows (note its just a hack page to start playing with RF tables):
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <html> <head> <title>repeater</title> </head> <body> <f:view> <h:outputText value="Example #1. Simple Table" /> <rich:dataTable > <h:column> <f:facet name="header"> <h:outputText value="City Name" /> </f:facet> <h:outputText value="blah" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="Meals" /> </f:facet> <h:outputText value="25" /> </h:column> <h:column> <f:facet name="header"> <h:outputText value="Transport" /> </f:facet> <h:outputText value="blah" /> </h:column> </rich:dataTable> </f:view> </body> </html>
Note: using eclipse 3.3.2 with RF 3.2.1 and JSF 1.2_04-b16-p02 -
2. Re: Unable to compile class for JSP
blinkybill Jun 6, 2008 4:28 AM (in response to blinkybill)also didn't mention using tomcat 6
-
3. Re: Unable to compile class for JSP
ilya_shaikovsky Jun 6, 2008 7:53 AM (in response to blinkybill)seems that some wrong libraries inside your web-inf/lib of the project. You want to tell that if you remove RF and just use h:dataTable on the page all works fine?
-
4. Re: Unable to compile class for JSP
blinkybill Jun 7, 2008 7:58 AM (in response to blinkybill)Thanks ilya - your suggestion got me on the right track - and found out the endorsed approach for jsf 1.2 is to have the jsf libs all in webinf/lib ie. never in the appserver lib. Changing to that fixed my problem