1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| <x:dataTable
id="functionTABLE"
var="myVar"
value="#{cadminfunctionslist.helper.functionlist}"
binding="#{cadminfunctionslist.functionlistSelectedRow}"
rows="0"
preserveRowStates="true"
rowIndexVar="rowIndex"
rowId="functionTABLE_row_#{rowIndex}"
cellpadding="0"
styleClass="tableList sortable"
border="0"
cellspacing="0">
<x:column styleClass="txtGrey" headerstyleClass="sortable">
<f:facet name="header">
<x:outputText
value="#{msgBundle.adminFunctionsList_COLUMNHEADER_FUNCTION_NAME}" />
</f:facet>
<x:panelGroup
rendered="#{!(cadminfunctionslist.indexSelectedRow==rowIndex) && !(cadminfunctionslist.editAllRow==1)}">
<x:outputText id="nomDT" forceId="true"
value="#{myVar.functionName}" >
</x:outputText>
</x:panelGroup>
<x:panelGroup
rendered="#{(cadminfunctionslist.indexSelectedRow==rowIndex) || (cadminfunctionslist.editAllRow==1)}">
<x:inputText value="#{suggestionBox.property}" id="nameTF" ></x:inputText>
<rich:suggestionbox id="suggestionBoxId" for="nameTF" tokens=",["
var="result"
suggestionAction="#{cAjaxBean.autocomplete}"
rows="100"
first="0"
width="100"
height="100">
<x:column><x:outputText value="#{result.lastName}" /></x:column>
</rich:suggestionbox>
</x:panelGroup>
</x:column>
...
</x:dataTable> |
Partager