[ http://issues.apache.org/jira/browse/MYFACES-208?page=all ]
     
sean schofield resolved MYFACES-208:
------------------------------------

    Resolution: Cannot Reproduce

This works for me.  MyFaces uses the faces-config.xml in META-INF to start off 
with but you can "override" component settings etc. by providing your own 
faces-config.xml in WEB-INF or whatever location you specify in 
WEB-INF/web.xml.  See the included simple example which does just this.

> faces-config.xml is only found in jar files located in WEB-INF/lib
> ------------------------------------------------------------------
>
>          Key: MYFACES-208
>          URL: http://issues.apache.org/jira/browse/MYFACES-208
>      Project: MyFaces
>         Type: Bug
>  Environment: Fedora Core 3
> JBoss/Jetty 3.2.1
>     Reporter: Chris Rudd
>     Priority: Blocker

>
> When scaning for faces-config.xml files it currently only looks for them 
> inside the jars of WEB-INF/lib. 
> The RI scans the classpath via a getResources("META-INF/faces-config.xml").
> Im not sure which is correct, but it seems the RI's method is better as it 
> allows the config files to exist in the WEB-INF/classes dir as well as allow 
> JSF components and such to be installed into the container (thus shared will 
> all apps).

-- 
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

Reply via email to