Here you go:

  | <h:form>
  | <a:region id="treeRegion">
  | <rich:tree id="tree" switchType="ajax" style="width:300px" 
value="#{library.data}" 
  |          var="item" nodeFace="#{item.type}" showConnectingLines="false"     
     
  |          binding="#{dataSourceTree}" componentState="#{library.treeState}">
  |             <rich:treeNode id="leafNode" type="leaf" 
iconLeaf="img/blank.gif" nodeClass="checkbox">
  |                 <h:selectBooleanCheckbox id="serviceCheckbox" 
value="#{item.selected}" styleClass="checkbox">                                 
                     
  |                     <a:support event="onclick" 
actionListener="#{item.setSelected}" RequestDelay="3" reRender="treeRegion" 
immediate="true"/>
  |                 </h:selectBooleanCheckbox>
  |                 <h:outputText id="leafText" value="#{item.name}" />         
       
  |             </rich:treeNode>
  | 
  |             <rich:treeNode id="categoryNode" type="leafCategory" 
icon="img/blank.gif" nodeClass="checkbox">
  |                 <h:selectBooleanCheckbox id="categoryCheckbox" 
value="#{item.selected}" styleClass="checkbox">                               
  |                                     <a:support event="onclick" 
actionListener="#{item.setSelected}" RequestDelay="3" reRender="treeRegion" 
immediate="true"/>
  |                 </h:selectBooleanCheckbox>                  
  |                 <h:outputText id="categoryText" value="#{item.name}" />     
                           
  |             </rich:treeNode>
  |                                 
  |          </rich:tree>
  | </a:region>
  | </h:form>
  | 

tried lot of things.. reRender just don't seem to work in this case..

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087717#4087717

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087717
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to