4 Replies Latest reply on Jun 12, 2008 9:12 AM by fensminger

    rich:suggestionbox

    fensminger

      Hello,

      With RichFaces 3.2.0SR1 and Firefox 2.0.0.14 or Firefox 3.0 RC1, the suggestBox does not appear under inputText, only when the vertical scroller of the browser is not on the top.

      Is this problem known ? What is the solution ?

      Thanks,
      Frederic.

      Here the code :

      <html xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:a4j="http://richfaces.org/a4j">
      <f:view locale="#{menuLang.langCourante}">
       <a4j:loadBundle basename="lu.bourse.lxn.traduction.TraductionBundle"
       var="trads" />
       <head>
       <title>Bug</title>
       </head>
       <body>
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <h:form id="fast_search">
       <h:inputText id="libEmetId" value="#{rechercheRapideBean.libEmet}" />
       <rich:suggestionbox id="suggestionBoxId" for="libEmetId"
       value="#{criteresRechercheControleur.criteresRechercheBean.emetteurs}"
       var="emet"
       suggestionAction="#{criteresRechercheControleur.suggestLibEmet}"
       fetchValue="#{emet.libEmet}">
       <h:column>
       <h:outputText
       value="#{emet.prefixLibEmet}#{emet.milieuLibEmet}#{emet.suffixLibEmet}#{emet.libEmetCourant}"
       escape="false" />
       </h:column>
       </rich:suggestionbox>
       </h:form>
      
       <h:outputText value="Test x" />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
       <h:outputText value="Test End scroll" />
       </body>
      </f:view>
      </html>
      


        • 1. Re: rich:suggestionbox

          We don't use Firefox 3.0.xxx
          This issue isn't reproducible under Firefox 2.0.0.14 & RichFaces 3.2.1.CR5
          Try the latest version of RichFaces & let us know will this trouble appear again.

          • 2. Re: rich:suggestionbox
            kito99

            I'm seeing the same problem with Firefox 2.0.0.14 and RichFaces 3.2.1 GA.

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            Kito D. Mann - Author, JavaServer Faces in Action
            http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
            http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

            • 3. Re: rich:suggestionbox

              Hello,

              I have input box & suggestionBox rich component under it.
              I scroll page, contained input box & enter some characters inside it.
              Actual behavior: suggestionBox is called. So, I can't reproduce this bug.
              Attach war file or any other source files for more information, please.

              • 4. Re: rich:suggestionbox
                fensminger

                Hello,

                I try my code with RichFaces 3.2.1.GA and this problem is solved.
                However, I was forced to set

                 <context-param>
                 <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                 <param-value>client</param-value>
                 </context-param>
                


                instead of

                 <context-param>
                 <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                 <param-value>server</param-value>
                 </context-param>
                


                in web.xml

                Frederic.