You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Scott Carter <ca...@gmail.com> on 2008/11/11 23:32:51 UTC

Using multiple faces-config.xml files

Is there any way to use multiple faces-config.xml files?  We have a huge
amount of navigation and bean configuration that would be better organized
in multiple files.  How can I do this?

Re: Using multiple faces-config.xml files

Posted by Mike Kienenberger <mk...@gmail.com>.
Yes.

A trivial search on faces-config or javax.faces.CONFIG_FILES will
answer all of your questions so far.   Or you can read the JSF spec.

http://java.sun.com/javaee/javaserverfaces/reference/api/index.html

For example, the first link my search turned up is

http://one-size-doesnt-fit-all.blogspot.com/2007/01/using-multiple-faces-configxml-files-in.html

On Tue, Nov 11, 2008 at 5:47 PM, Scott Carter <ca...@gmail.com> wrote:
> Do you happen to know if you can use both a faces-config in the WEB-INF of
> the app and have faces-config files used from included JARs?
>
> On Tue, Nov 11, 2008 at 4:45 PM, Mike Kienenberger <mk...@gmail.com>
> wrote:
>>
>> http://www.jsf-faq.com/faqs/faces-configuration.html
>>
>> On Tue, Nov 11, 2008 at 5:32 PM, Scott Carter <ca...@gmail.com>
>> wrote:
>> > Is there any way to use multiple faces-config.xml files?  We have a huge
>> > amount of navigation and bean configuration that would be better
>> > organized
>> > in multiple files.  How can I do this?
>
>

Re: Using multiple faces-config.xml files

Posted by Scott Carter <ca...@gmail.com>.
Do you happen to know if you can use both a faces-config in the WEB-INF of
the app and have faces-config files used from included JARs?

On Tue, Nov 11, 2008 at 4:45 PM, Mike Kienenberger <mk...@gmail.com>wrote:

> http://www.jsf-faq.com/faqs/faces-configuration.html
>
> On Tue, Nov 11, 2008 at 5:32 PM, Scott Carter <ca...@gmail.com>
> wrote:
> > Is there any way to use multiple faces-config.xml files?  We have a huge
> > amount of navigation and bean configuration that would be better
> organized
> > in multiple files.  How can I do this?
>

Re: Using multiple faces-config.xml files

Posted by Mike Kienenberger <mk...@gmail.com>.
http://www.jsf-faq.com/faqs/faces-configuration.html

On Tue, Nov 11, 2008 at 5:32 PM, Scott Carter <ca...@gmail.com> wrote:
> Is there any way to use multiple faces-config.xml files?  We have a huge
> amount of navigation and bean configuration that would be better organized
> in multiple files.  How can I do this?