[英]Shared faces-config.xml across web project
I am trying to come up with a common UI framework for my organization. 我正在尝试为我的组织提出一个通用的UI框架。 I want to know can I have something called shared faces-config.xml file which can be shared across projects. 我想知道我是否有一个可以在项目之间共享的共享的faces-config.xml文件。
如果在JAR中包含faces-config,则在其中包含该JAR的任何JSF项目都可以找到它。
Place your faces-config.xml
in a META-INF
folder in the jar root. 将您的faces-config.xml
放在jar根目录下的META-INF
文件夹中。
If you look at component frameworks (richfaces, tomahawk, etc) - they do it this way. 如果您查看组件框架(richfaces,战斧等),它们就是这样做的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.