我正在使用Exadel-Fiji 1.0,Richfaces 3.3.3,Jboss 4.3 -EAP,Seam 2.1.0,JSF-1.2_09
当我尝试渲染一个exadel斐济折线图时,该页面只会抛出一个空白屏幕
firefox错误控制台说
未定义AC_FL_Runcontent
答案 0 :(得分:0)
我找到了解决方案。
我的web.xml中有以下代码。我不得不评论它以使其正常工作
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>NONE</param-value>
</context-param>
答案 1 :(得分:0)
此脚本错误是因为您的jsf页面中缺少与斐济相关的js文件之一。请在xhtml / jsf页面中添加以下脚本以解决此问题:
<script type="text/javascript" src="/[your-application-context-name]/a4j/g/3_3_1.CR1com/exadel/fiji/renderkit/html/AC_OETags.js.jsf" />
在您的应用程序中测试之前,请检查您是否可以使用以下URL在浏览器中查看Javascript:
http://[url]:8080/[your-application-context-name]/a4j/g/3_3_1.CR1com/exadel/fiji/renderkit/html/AC_OETags.js.jsf
或
http://[url]:8080/your-application-context-name/a4j/g/3_3_1.CR1com/exadel/fiji/renderkit/html/AC_OETags.js
如果您能够在浏览器中看到脚本内容,则问题已得到解决,并且无需对web.xml
更改发表评论。