I am trying to come up with a common UI framework for my organization. I want to开发者_JAVA百科 know can I have something called shared faces-config.xml file which can be shared across projects.
If you include the faces-config in your JAR, it will be found by any JSF project that you include that JAR within.
Place your faces-config.xml
in a META-INF
folder in the jar root.
If you look at component frameworks (richfaces, tomahawk, etc) - they do it this way.
精彩评论