Hi,
 
I'm trying to build a tree-table with checkboxes. Here the example:
 
<x:tree id="tree" value="#{checkTree.model}"
     var="menuItem"
     expandRoot="true">
        
         <x:treeColumn>
          <f:facet name="header">
              <h:outputText value="Menu" />
            </f:facet>
          <h:outputText value="#{menuItem.titelkey}" />
         </x:treeColumn>
        
         <h:column>
          <f:facet name="header">
               <h:outputText value="Berechtigung" />
            </f:facet>
          <h:selectBooleanCheckbox value="#{menuItem.berechtigung}" />
          </h:column>
 </x:tree>
 
The id generated for the selectBooleanCheckbox is same for all rows and therefore
it doesn't work properly. What's wrong with this example?
 
Any help appreciated, thanks.
 
Best Regards,
   Marian Kasala
 
 
AP Soft GmbH
Pod Juhom 6477
SK-911 01 Trenc�n
 
Tel.: +421 32 7480056
Fax: +421 32 7480053

Reply via email to