Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Modules  RSS feed

 
Abiodun Okusolubo
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,
I am trying to figure if a particular feature in Struts is also present or possible with JSF.
However, is it possible to have more than 1 "faces-config.xml" file in a JSF app. However, this will normally help with modularing the development of JSF application.

Thank you.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think so. You can specify config file alternate names, anyway. Never had to worry about it.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do so. Just add in your web.xml File the following.

<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name> <param-value>/WEB-INF/faces-config.xml,/WEB-INF/config file alternate names</param-value>
</context-param>

Between the <param-name> </param-name>. You can add a comma separated list of config files.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!