An example for af:treeTable with af:inputComboboxListOfValues

Copying simple example for af:treeTable whose child column displays af:inputComboboxListOfValues component
 
<af:treeTable value="#{bindings.DepartmentsView2.treeModel}" var="node"  
                 selectionListener="#{bindings.DepartmentsView2.treeModel.makeCurrent}" rowSelection="single"  
                 id="tt1">  
      <f:facet name="nodeStamp">  
           <af:column id="c1">  
                <af:outputText value="#{node}" id="ot1"/>  
           </af:column>  
      </f:facet>  
      <f:facet name="pathStamp">  
           <af:outputText value="#{node}" id="ot2"/>  
      </f:facet>  
      <af:column headerText="Manager ID" id="c10">  
           <af:inputComboboxListOfValues rendered="#{not empty node.EmployeeId}" id="managerIdId"
                                               popupTitle="Search and Select #{node.bindings.ManagerId.label}"  
                                               value="#{node.bindings.ManagerId.inputValue}"  
                                               model="#{node.bindings.ManagerId.listOfValuesModel}"  
                                               partialTriggers="it9" label="LOV">  
                <f:validator binding="#{node.bindings.ManagerId.validator}"/>  
                <af:convertNumber groupingUsed="false" pattern="#{node.bindings.ManagerId.format}"/>  
           </af:inputComboboxListOfValues>  
      </af:column>  
      <af:column headerText="Dept ID" id="c11">  
           <af:inputText value="#{node.bindings.DepartmentId.inputValue}" id="it9" autoSubmit="true"  
                           label="DeptId">  
                <f:validator binding="#{node.bindings.DepartmentId.validator}"/>  
                <af:convertNumber groupingUsed="false" pattern="#{node.bindings.DepartmentId.format}"/>  
           </af:inputText>  
      </af:column>  
 </af:treeTable>  

Comments

  1. sorry to post .

    here.

    https://forums.oracle.com/forums/thread.jspa?threadID=2300139&tstart=0

    ReplyDelete

Post a Comment