-
1. Re: IE 脚本显示richfaces 未定义 ,请问有谁遇到过这个问题吗
sivaprasad9394 Jul 23, 2012 2:24 AM (in response to shldc)Hi,
Wrap the view into f:view,For Example do like below,
<f:view>
<h:head>
</h:head>
<h:body>
<h:form>
-------------------- UR CODE -------------------
</h:form>
</h:body>
</f:view>
</html>Thanks,
siva
-
2. Re: IE 脚本显示richfaces 未定义 ,请问有谁遇到过这个问题吗
healeyb Jul 23, 2012 4:48 AM (in response to shldc)It looks like we're going to have a game of "guess what the question is". It's best to use f:view contentType="text/html", this is
needed for proper operation with webkit based browsers like chrome.
Maybe do the preRenderView event like this because of this bug http://java.net/jira/browse/JAVASERVERFACES-2162 :
<f:metadata>
<f:viewParam name="dummy"/>
<f:event type="preRenderView" listener="#{cxBean.preHeadTable}"></f:event>
</f:metadata>
Without the "dummy" line the listener is called once on the first ajax postback, twice on the second, etc...
Probably deliberately omitted but you have no columns in your extendedDataTable so there will be no output.
Regards,
Brendan.
-
3. Re: IE 脚本显示richfaces 未定义 ,请问有谁遇到过这个问题吗
shldc Jul 23, 2012 10:26 PM (in response to healeyb)还是不行,在页面上不使用binging 属性,正常,使用binging 属性就报这个错误,好想是页面上没引入js那几个包(richfaces 用的)
-
4. Re: IE 脚本显示richfaces 未定义 ,请问有谁遇到过这个问题吗
mcmurdosound Jul 24, 2012 4:39 AM (in response to shldc)The google translator ist quite good: ;-)
Title= "IE script shows richfaces is undefined, does anyone come across this problem."
the last post ... okay. I don't know:
"Or not, binging properties on the page, normal use of the the binging property, they reported the error, really want is not to introduce js on the page that several packages (richfaces used)"
-
5. Re: IE 脚本显示richfaces 未定义 ,请问有谁遇到过这个问题吗
shldc Jul 27, 2012 5:20 AM (in response to shldc)问题解决了,手工导入如下文件
<link type="text/css" rel="stylesheet" href="/caiwu/rfRes/skinning.ecss.faces?db=eAG7mShzEgAFjAIg" />
<script type="text/javascript" src="/caiwu/javax.faces.resource/jsf.js.faces?ln=javax.faces&stage=Development"></script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/jquery.js.faces"></script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/richfaces.js.faces">
</script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/richfaces-base-component.js.faces">
</script><script type="text/javascript" src="/caiwu/javax.faces.resource/jquery.position.js.faces">
</script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/jquery.mousewheel.js.faces?ln=org.richfaces">
</script><script type="text/javascript" src="/caiwu/javax.faces.resource/inputNumberSpinner.js.faces?ln=org.richfaces"></script>
<link type="text/css" rel="stylesheet" href="/caiwu/rfRes/inputNumberSpinner.ecss.faces?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />
<script type="text/javascript" src="/caiwu/javax.faces.resource/richfaces-queue.js.faces">
</script><script type="text/javascript" src="/caiwu/javax.faces.resource/richfaces-event.js.faces">
</script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/json-dom.js.faces?ln=org.richfaces">
</script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/jquery.effects.core.js.faces?ln=org.richfaces"></script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/jquery.effects.highlight.js.faces?ln=org.richfaces"></script>
<script type="text/javascript" src="/caiwu/javax.faces.resource/JQuerySpinBtn.js.faces?ln=org.richfaces">
</script><script type="text/javascript" src="/caiwu/javax.faces.resource/calendar-utils.js.faces?ln=org.richfaces">
</script><script type="text/javascript" src="/caiwu/javax.faces.resource/calendar.js.faces?ln=org.richfaces">
</script><link type="text/css" rel="stylesheet" href="/caiwu/rfRes/calendar.ecss.faces?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />
<script type="text/javascript" src="/caiwu/javax.faces.resource/extendedDataTable.js.faces?ln=org.richfaces">
</script><link type="text/css" rel="stylesheet" href="/caiwu/rfRes/extendedDataTable.ecss.faces?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />
<link type="text/css" rel="stylesheet" href="/caiwu/rfRes/extendedDataTable.ecss.faces?db=eAG7mShzEgAFjAIg&ln=org.richfaces" />