【发布时间】:2012-04-26 09:21:43
【问题描述】:
我构建了一个 JSF 2.1.2 页面,其中包含各种 primefaces 组件,例如 p: calendar、p: selectOneMenu ... 此页面工作正常。 但 : 我需要将第一页集成到 p:tab 元素中的另一个页面中,其中 p:TabView parent : 像这样:
<p:tabView id="tabview">
<p:tab title="User admin">
<ui:include src="firstPage.xhtml" />
</p:tab>
</p:TabView>
问题:primefaces 组件不再工作(例如 p:calendar 不显示),我遇到了很多错误,比如 jQuery 不存在:
$(this.jqId + " ul").sortable is not a function
[Stopper sur une erreur]
...d+" .ui-picklist-target-controls .ui-picklist-button-move-up").click(function(){...
primef...mefaces (ligne 27)
$(this.jqId + " ul").sortable is not a function
[Stopper sur une erreur]
...d+" .ui-picklist-target-controls .ui-picklist-button-move-up").click(function(){...
.....
感谢您的帮助。 克里斯托夫。
【问题讨论】:
-
说,如果你把它改成 src="/firstPage.xhtml" (加了"/") ...?也...我猜 是一个错字?大写“T”
标签: jsf-2 primefaces