【发布时间】:2012-01-19 03:51:47
【问题描述】:
<p:outputPanel>
<h:selectOneRadio value="#{myBean.favColor1}">
<f:selectItem itemValue="Red" itemLabel="Color1 - Red" />
<f:selectItem itemValue="Green" itemLabel="Color1 - Green" />
<f:selectItem itemValue="Blue" itemLabel="Color1 - Blue" />
</h:selectOneRadio>
<p:ajax update="picker,#{myBean.clientId}"/>
</p:outputPanel>
我需要更新一个以编程方式生成 id 的组件。
【问题讨论】:
标签: jsf primefaces