2 Replies Latest reply on Jul 3, 2008 1:37 PM by lgweb

    (sugestionBox)

    lgweb


      Hello, good morning create a suggestionBox to appear as if seeking an item in a selectOneMenu, but can not display it next to the selectOneMenu, he always appears below and the list of selectOneMenu hide it, How can I do to it appear beside the selectOneMenu?
      see:

      
      <h:selectOneMenu value="#{pedido.itensvenda.produto}"
       disabled="#{pedido.produtoEditando}" id="comboprod"
       style=" width : 195px;">
       <a4j:support event="onchange"
       action="#{pedido.habilitaComboNumeracao}"
       reRender="p1,valor" ajaxSingle="true">
       </a4j:support>
       <f:selectItems value="#{pedido.produtoids}" />
       <f:converter converterId="produtoconversor" />
       </h:selectOneMenu>
       <rich:suggestionbox id="suggestionBoxId" for="comboprod"
       suggestionAction="#{pedido.buscaNumeracaoes}" var="result"
       fetchValue="#{result.numeracao.numeracaoid}"
       nothingLabel="Não ha numeracoes cadastradas!"
       border="5" width="200" height="200" zindex="2000" ajaxSingle="true" dir="LTR">
       <h:column>
       <f:facet name="header">
       <h:outputText value="Numeracões disponÃveis:"></h:outputText>
       </f:facet>
       <h:outputText value="#{result.numeracao.numeracaoid}" >
       </h:outputText>
       </h:column>
      
       </rich:suggestionbox>
      


      thanks.