Please help me !I writing JSF page, which requires users to click at least on a one checkbox. And I am using rich:tree and jbpm. And user can select just child nodes. I have to validate for null and if user didn't select any checkboxes show alert . I have following code in place:
<rich:panel id="treePanel" styleClass="theme6 rich-panel-header-off">
<rich:tree id="tree" ajaxSubmitSelection="true" switchType="client" value="#{lastCategoryManager.makeCategoryTree()}" var="node">
<rich:treeNode>
<h:selectBooleanCheckbox value="#{ vars['categorySelection'].selection} }" rendered="#{lastCategoryManager.lookForChild(node)}">
<h:outputText value="#{node}" style="padding-left:5px" />
</rich:treeNode>
</rich:tree>
</rich:panel>