1 Reply Latest reply on Sep 1, 2008 7:27 AM by Ilya Shaikovsky

    rich:comboBox and rich:suggestionbox's float selectitem not

    wang chong Newbie

      example code:


      .....other content ....

      <rich:comboBox id="combox" suggestionValues="#{firstTestBean.items}"
      directInputSuggestions="true" value="#{item.value}" defaultLabel="Enter some value" >
      </rich:comboBox>
      ........
      <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>

      .....other content ....


      when the outer div scrolled ,float selectitem will far from inputtext