Building a WEB application using JSF 2,Spring 2.5,Maven 3,RichFaces,facelets
Ive been searching for answers and to no avail ended up with nothing, Ive been looking into my libraries version too,i think Im missing something. i just want to try out this new <f:event> tag for JSF 2
here are my specs
- tomcat 7.0.27
- jstl-api-1.2.jar
- jstl-impl-1.2.jar
- jsf-api-2.1.3.jar
- jsf-impl-2.1.3.jar
- jsf-facelets-1.1.10.jar
- richfaces-api-3.3.3.jar
- richfaces-impl-3.3.3.jar
- richfaces-ui-3.3.3.jar
xhtml file
<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:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
web.xml
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="WebApp_ID" version="3.0">
faces-config.xml
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
here is block of my stack trace:
com.sun.facelets.tag.TagException: /twofalogin.xhtml @18,71 <f:event> Tag Library supports namespace: http://java.sun.com/jsf/core, but no tag was defined for name: event
FYI: Ive tried using the exact same libs as a simpe JSF 2 project on eclipse without maven and using JSP instead of xhtml, i could find the <f:event> on eclipse auto complete. I havent tried running it on my tomcat though.
Thanks