Richfaces is not defined (firefox)/ 'Richfaces' is undefined (IE)的解决方法
出现这种问题的情况是:通过JSF动态导航跳REDIRECT到另一个页面时,在FIREFOX下调试时,出现此问题
我的运行环境:? ? ECLIPSE 3.6.2
? ? JSF 2.0
? ? EJB3.1
? ? RICHFACES 4.0
? ? JBOSS 6.0
跳转的页面是这样定义的:
<h:form> <ui:include src="/pages/cs/medicalCaseHeaderShow.xhtml"></h:form>?medicalCaseHeaderShow.xhtml 定义如下:
<div> <rich:collapsiblePanel switch="client" title="XXX" header="XXX"> <h:panelGrid> ...... </h:panelGrid> </rich:collapsiblePanel></div>?后来解决的方法是:在跳转的页面上加上'html/f:view/h:head...../h:body/f:view/html' 问题解决!
参考网址: ?http://community.jboss.org/message/605299