Alternative JSF implementation with JBoss 71

拜拜、爱过 提交于 2019-12-24 01:22:29

问题


I am trying to use icefaces 1.7.1 in a war application deployed on JBoss 7.0.0.Final

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.

I can not change or upgrade the JSF implementation.

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>

This does not seem to work with JBoss 7.

Does anybody know how to use an alternative JSF implementation with JBoss 7?

Thanks.


回答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.



来源:https://stackoverflow.com/questions/7080081/alternative-jsf-implementation-with-jboss-71

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!