0
このコードは何が間違っていますか? idOfForm(selectManyListbox)を更新できません。<h:selectManyListbox ... />を正しく更新(レンダリング)する方法は?
<h:form id="idOfForm">
<h:selectManyListbox id="userListId" size="10" value="#{userBean.selectedAvailableUsers}">
<f:selectItems
value="#{userBean.availableUsers}" />
<f:converter converterId="userConverter" />
</h:selectManyListbox>
</h:form>
<h:commandLink value="#{userBean.id}"
action="#{userBean.update()}">
<f:setPropertyActionListener
target="#{userBean.selectedUser}" value="#{userBean}" />
<f:ajax execute="@form" render=":idOfForm" />
</h:commandLink>
commandLinkには属性としての更新がないため、更新は使用できません。 –
'
私の解決策を最初に試してみると、それがうまくいかない場合はレンダリングを'rendred =" detailData editUserForm "' –