1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
<rich:column id="index" style="width:10px">
<f:facet name="header">
<h:panelGroup>
<a4j:outputPanel rendered="#{fake.selectAll}"
id="select">
<a4j:commandLink value="No one"
action="#{fake.selectAllRows}"
reRender="table,unselect,select">
<a4j:actionparam assignTo="#{fake.selectAll}"
value="false" />
</a4j:commandLink>
</a4j:outputPanel>
<a4j:outputPanel rendered="#{!fake.selectAll}"
id="unselect">
<a4j:commandLink value="All" action="#{fake.selectAllRows}" reRender="table,select,unselect">
<a4j:actionparam assignTo="#{fake.selectAll}" value="true" />
</a4j:commandLink>
</a4j:outputPanel>
</h:panelGroup>
</f:facet>
<h:selectBooleanCheckbox value="#{list.selected}" id="radio">
</h:selectBooleanCheckbox>
</rich:column> |
Partager