myfaces-all.jar lacks the faces-config.xml
------------------------------------------
Key: MYFACES-608
URL: http://issues.apache.org/jira/browse/MYFACES-608
Project: MyFaces
Type: Bug
Components: General
Versions: 1.1.0
Environment: Linux Fedora Core 4, kernel 2.6.13.1, IBM WebSphere Application
Server 5.1 on a Thinkpad T30
Reporter: Pieter Voet
If somebody wants to use the MyFaces JSF implementation including the Tomahawk
extentions, the 1.1 version ships a 'convenience all-in-one' jar :
myfaces-all.jar
However the META-INF in this jar does not contain a 'faces-config.xml' file and
hence all
tomahawk components are not registered.
So, using this small testcase :
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<t:div>
Bummer !
</t:div>
results in :
[ServletException in:/jsp/doit.jsp] Undefined component type
org.apache.myfaces.Div'
and from System.out :
ApplicationIm E org.apache.myfaces.application/ApplicationImpl Undefined
component type org.apache.myfaces.Div
Using 'myfaces-api.jar' 'myfaces-impl.jar' and 'tomahawk.jar' together instead
of the
all-in-one 'myfaces-all.jar' works fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira