You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Anthony Hong (JIRA)" <de...@myfaces.apache.org> on 2006/03/17 09:01:01 UTC
[jira] Commented: (MYFACES-1183) Configurations
/WEB-INF/faces-config.xml loaded twice
[ http://issues.apache.org/jira/browse/MYFACES-1183?page=comments#action_12370793 ]
Anthony Hong commented on MYFACES-1183:
---------------------------------------
sample of sorting/paginating of MyFaces have this issue
> Configurations /WEB-INF/faces-config.xml loaded twice
> -----------------------------------------------------
>
> Key: MYFACES-1183
> URL: http://issues.apache.org/jira/browse/MYFACES-1183
> Project: MyFaces Core
> Type: Bug
> Components: General
> Versions: 1.1.1
> Environment: Weblogic 9, Facelets, MyFaces1.1.10
> Reporter: Anthony Hong
>
> I have a JSF configuration file faces-config.xml and put it under /WEB-INF/
> In web.xml, setup context-param to load jsf configuration file.
> <context-param>
> <param-name>javax.faces.CONFIG_FILES</param-name>
> <param-value>/WEB-INF/faces-config.xml</param-value>
> </context-param>
> Then this configuration file will be loaded twice. As /WEB-INF/faces-config.xml will loaded automaticly at first. If I put it in CONFIG_FILES again, it doesn't ignore this file. then phase listener and navigatorHandler has two instances in container which maybe a problem.
--
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