1 Reply Latest reply on Nov 7, 2009 2:13 PM by Nick Belaevski

    Problem of suggestionbox, with converter and reRender attrib

    chung siu man Newbie


      I follow the way of using <a:outputPanel>, but got javascript error, which prevent the popup of the selection box comes from suggestion box.

      All I want is, function allow user to select item from suggestion box, or user manual input value in the input box. If user input value, the converter will change input value to upper case and re-show on the input text box.

      So, can you further suggest way to solve my problem

      Sample Code
      <a:outputPanel id="dacBlock" layout="block" >
      <h:panelGrid width="80px" columns="2">
      <h:inputText id="currCode" value="#{glJrnlVchrMast.currCode}" >
      <f:converter converterId="itemBeanToUpperCaseConverter"/>
      <a:support event="onchange" reRender="dacBlock"/>

      <h:graphicImage value="../../img/arrow.png"

      <rich:suggestionbox id="suggestion4" for="currCode" fetchValue="#
      {currCodeDn.pk.currCode}" height="200" width="300"
      var="currCodeDn" selfRendered="true">
      <h:outputText value="#{currCodeDn.pk.currCode}" />
      <h:outputText value="#{currCodeDn.currDesc}" />
      <a:support event="onselect"