使用JBoss 71的替代JSF实现 [英] Alternative JSF implementation with JBoss 71
问题描述
我正在尝试在JBoss 7.0.0.Final上部署的战争应用程序中使用icefaces 1.7.1
I am trying to use icefaces 1.7.1 in a war application deployed on JBoss 7.0.0.Final
部署失败,并在icefaces-comp.jar/META-INF/faces-config.xml中显示错误无法编译样式表".我认为这是因为JBoss 7希望我使用JBoss 7附带的JSF实现.
Deployment is failing with an error "Could not compile stylesheet" in icefaces-comp.jar/META-INF/faces-config.xml. I assume this is because JBoss 7 is expecting me to use the JSF implementation that comes with JBoss 7.
我无法更改或升级JSF实现.
I can not change or upgrade the JSF implementation.
JBoss 6允许旧版应用程序将以下内容添加到web.xml中,以便忽略与JBoss捆绑在一起的JSF实现:
JBoss 6 allowed legacy applications to add the following to web.xml so that the JSF implementation bundled with JBoss is ignored:
<context-param>
<param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
<param-value>true</param-value>
</context-param>
这似乎不适用于JBoss 7.
This does not seem to work with JBoss 7.
有人知道如何在JBoss 7中使用替代的JSF实现吗?
Does anybody know how to use an alternative JSF implementation with JBoss 7?
谢谢.
推荐答案
JBoss 7.0.1.Final已发布并解决了此问题,即org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL上下文参数现在可在JBoss 7.0.1中使用.最终.
JBoss 7.0.1.Final has been released and fixes this issue, i.e. the org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL context param now works in JBoss 7.0.1.Final.
这篇关于使用JBoss 71的替代JSF实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!