Subscribe: Comments on One size doesn't fit all: Using multiple faces-config.xml files in JSF
http://one-size-doesnt-fit-all.blogspot.com/feeds/615033826319292898/comments/default
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
chris  config files  config xml  config  faces config  faces  files  information  javax faces  jsf  loaded  research  xml file  xml 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments on One size doesn't fit all: Using multiple faces-config.xml files in JSF

Comments on One size doesn't fit all: Using multiple faces-config.xml files in JSF





Updated: 2017-09-07T14:41:53.761+08:00

 



Thanks for the update, a rather old blog post on m...

2010-07-19T11:53:52.133+08:00

Thanks for the update, a rather old blog post on my part.

In looking around the internet I can see examples like yours, and like the one I've put forward. I can't comment with any expertise on why the difference occurs now as this was such a long time ago for me, but could it be a JSF specification change?

In turn checking back at my copy of "Mastering JavaServer Faces" it does in fact say javax.faces.application.CONFIG_FILES, so I didn't just make it up.

As such I'll leave readers to work out what works or not for them.

CM.



You misspelled: "For option 2 Mastering Java...

2010-07-19T01:44:28.554+08:00

You misspelled:

"For option 2 Mastering JavaServer Faces says a JSF implementation will next "look for a context initialization parameter named javax.faces.application.CONFIG_FILES in the web.xml file for one or more JSF configurations that should be loaded."

and also the example code, should be:

... javax.faces.CONFIG_FILES ...



Thank you for the research.

2009-12-08T05:20:39.857+08:00

Thank you for the research.



Thanks for the information. =D

2009-02-28T03:26:00.000+09:00

Thanks for the information. =D



"I don't know why but I always seem to refer to th...

2008-12-12T17:04:00.000+09:00

"I don't know why but I always seem to refer to the JDeveloper documentation last, and am pleasantly surprised to find a section on my research topic."

Hahaha! I thought I was the only this happened to! There are moments I felt like I wasted hours (sometimes days) figuring it out on my own, when I could've gotten the answer in a few minutes if I knew where to look in the doco. Then again, I might not have understood or appreciated the doco completely until I learned it the hard way.

Cheers!

Rey



nice article. Another thing you could check is the...

2007-08-14T22:00:00.000+08:00

nice article. Another thing you could check is the order in which faces-config1.xml and faces-config2.xml are loaded. Thanks!



No worries and thanks for the follow-up Kenton. N...

2007-08-11T11:25:00.000+08:00

No worries and thanks for the follow-up Kenton. Nice to see this functionality is documented somewhere.

Cheers,

CM.



Hi Chris, Thanks for the Information!Did a little ...

2007-08-11T07:06:00.000+08:00

Hi Chris,

Thanks for the Information!

Did a little more research into 10.1.3... and I found a section in the Oracle manuals regarding navigation conflicts.

Oracle® Application Development Framework Developer's Guide For Forms/4GL Developers
10g Release 3 (10.1.3.0)
B25947-01

16.2.4.3
http://download-east.oracle.com/docs/html/B25947_01/web_pagenavigation002.htm

It looks like the last loaded faces-config.xml file, or the last entry in a faces-config.xml file ends up becoming your navigation rule. Hence the behavior you describe regarding the WEB-INF/faces-config.xml.




Kenton



Thanks for the compliment Carlos. Good luck with ...

2007-04-02T19:14:00.000+08:00

Thanks for the compliment Carlos. Good luck with your faces-config.xml endeavours.

Regards,

CM.



Chris,Excelent starting point.Let's go to the test...

2007-04-01T22:39:00.000+08:00

Chris,
Excelent starting point.
Let's go to the tests.
Thank you and best regards.
Carlos
POA/RS/BR