0 Replies Latest reply on Sep 2, 2008 2:05 AM by wang chong

    rich:suggestionbox can not be used in rich:tree in v3.2.2.CR

    wang chong Newbie

      rich:suggestionbox can not display it's selectItem list when it is used inside rich:tree/rich:treeNode. the problem is not exist in v3.2.1.GA.

      example code:

      <rich:tree id="tree" styleClass="treeStyle" switchType="client" style="width:300px;font-size:11px"
      binding="#{menuTreeBean.treeComponent}" value="#{menuTreeBean.tree}" var="item" nodeFace="#{item.type}">
       <rich:treeNode type="inputSuggest" nodeClass="treeNodeStyle" >
       <h:inputText value="#{item.value}" id="suggest" styleClass="tooltipData" />
       <rich:suggestionbox id="suggestionBoxId" popupClass="suggestBox" for="suggest" tokens=","
       rules="#{suggestionBox.rules}"
       suggestionAction="#{firstTestBean.autocomplete}" var="result"
       fetchValue="#{result}"
       minChars="2"
       width="220"
       height="#{firstTestBean.divHeight}"
       border="1"
       nothingLabel="No capitals found" >
       <h:column>
       <h:outputText value="#{result}" />
       </h:column>
       </rich:suggestionbox>
       </rich:treeNode>
      </rich:tree>