<p:dataTable id="#{viewName}MemberDataTable"
var="member"
value="#{wizardController.members}"
emptyMessage="No members added.">
<p:column headerText="Cable name">
<h:outputText value="#{member.name}" />
</p:column>
<p:column headerText="Action">
<p:commandLink id="#{viewName}RemoveCommandLink"
value="Remove"
action="#{wizardController.removeMember(member)}"
onstart="PF('loadingDialog').show()"
oncomplete="PF('loadingDialog').hide();update#{rootViewId}WizardButtons();"
update="@form:#{viewName}MembersPanel"
process="@form:#{viewName}MembersPanel">
</p:commandLink>
</p:column>
</p:dataTable>
No comments:
Post a Comment