AJJ*_*AJJ 5 iframe jsf primefaces
我想更新驻留在iframe外部的组件.我将从iframe内部的组件调用更新,并更新iframe外部的组件.我怎么能这样做?
<p:tabView id="tab_view" dynamic="true" cache="true" scrollable="true">
<p:tab id="tab_1" title="Test">
<iframe id="tab_frame"
src="#{request.contextPath}/xxx/xxx.xhtml"
width="100%" height="285px" style="border-width: 0px;" />
</p:tab>
</p:tabView>
Run Code Online (Sandbox Code Playgroud)
xxx.xhtml
<h:form id="testform">
<p:commandLink value="Click here" action="#{controller.methodY()}" style="color:blue;" update="tab_view"/>
</h:form>
Run Code Online (Sandbox Code Playgroud)
commandlink中的更新不起作用.如何更新我的tabview?
归档时间: |
|
查看次数: |
537 次 |
最近记录: |