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

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

    gufeiyun

      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