Explanation:
I have a JSF command link that sets a member in the backing bean, however, when setting the backing bean member using setPropertyActionListener I get a tag not recognized error.
The project builds and deploys with no issues. The default page is displayed then the error is thrown on the page request with the setPropertyActionListener.
Other coworkers are able to run the application fine using the same setup. I am guessing I am missing a library or there is a permission issue on some directory or file.
Setup:
- Netbeans 6.7.1
- Apache Tomcat 6.0.18
- JDK 1.6
- JavaServer Faces 1.2
- Facelets
Code:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/template.xhtml">
<ui:define name="body">
<h:commandLink value="view" action="viewer">
<f:setPropertyActionListener target="#{ViewerBean.ticket_id}" value="#{ticket.ticket_id}" />
</h:commandLink>
</ui:define>
</ui:composition>
</html>
Stacktrace: complete trace
javax.servlet.ServletException: /portal/index.xhtml @65,125 Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: setPropertyActionListener
com.sun.facelets.tag.TagException: /portal/index.xhtml @65,125 Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: setPropertyActionListener
Libraries in Apache:
- annotations-api.jar
- catalina.jar
- el-api.jar
- jasper.jar
- mysql-connector-java-5.1.7-bin.jar
- tomcat-coyote.jar
- tomcat-i18n-fr.jar
- catalina-ant.jar
- catalina-tribes.jar
- jasper-jdt.jar
- tomcat-dbcp.jar
- tomcat-i18n-ja.jar
- catalina-ha.jar
- commons-logging-1.1.1.jar
- jasper-el.jar
- jsp-api.jar
- servlet-api.jar
- tomcat-i18n-es.jar
Libraries in Project:
- activation.jar
- commons-digester.jar
- ezmorph-1.0.6.jar
- jstl.jar
- richfaces-ui-3.3.0.GA.jar
- commons-beanutils-1.8.0.jar
- commons-lang-2.4.jar
- jsf-api.jar
- jxl.jar
- standard.jar
- commons-beanutils.jar
- commons-logging-1.1.1.jar
- jsf-facelets.jar
- mail.jar
- commons-collections-3.2.jar
- commons-logging.jar
- jsf-impl.jar
- richfaces-api-3.3.0.GA.jar
- commons-collections.jar
- el-impl-1.0.jar
- json-lib-2.2.3-jdk15.jar
- richfaces-impl-3.3.0.GA.jar