1
我的代码片段当用于<f:ajax>包含未知ID:someid在<ui:repeat>
<ui:repeat var="o">
<h:panelGroup id="someid">
<ui:repeat>
// HTML
</ui:repeat>
</h:panelGroup>
<div>
<h:form>
<h:commandButton action="#{o.doSomething}">
<f:ajax event="action" render=":someid" />
</h:commandButton>
<h:form>
</div>
</ui:repeat>
为什么不<f:ajax>
找到someid
?
谢谢。但我想渲染整个外部UI:重复。那么,我该怎么做呢? – user917383
哦?这个问题你没有说清楚。只需将外部''放在''中,并使用'render =“:foo”'(或其*真实客户端ID,右键单击浏览器中的页面并执行* View来源*找到它)。 –
BalusC