3 Replies Latest reply on Jul 13, 2007 2:09 PM by Edwin van der Elst

    Can't select checkbox in rich:treeNode tag

    Chico Chen Newbie

      Can't select checkbox in rich:treeNode tag, pls refer to the image


      <rich:treeNode type="input"
       dropListener="#{funcPointMaintAction.processDrop}"
       oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
       onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')">
       <h:outputText value="#{item.nodeName}: " />
       <h:inputText value="#{item.nodeName}" required="true"
       styleClass="inputs">
       </h:inputText>
      
       <h:selectBooleanCheckbox value="#{item.nodeDelTag}"
       onclick="this.selected=true; alert('test')">
       </h:selectBooleanCheckbox>
       <dnd:dndParam name="nodeParam" value="Node Parameter" />
      
       </rich:treeNode>
       <rich:treeNode type="text" nodeClass="customNode"
       acceptedTypes="file2">
       <h:outputText value="#{item.nodeName}" />
       <h:outputText value="DEL" rendered="#{item.nodeDelTag}"/>
       </rich:treeNode>



      [img]http://lh6.google.com/chicocn/RpdTlo_Ec8I/AAAAAAAAAQw/6FbPCQMupQw/s144/Snap3.jpg[/img][/img]