6 Replies Latest reply on Mar 25, 2009 8:20 AM by Nikola Ninovic

    Bug with suggestionBox in Opera 9.2x

    Milan Manojlovic Newbie

      Hi all,

      I'm not sure if this is a bug, but here is the problem:

      
      <h:form id="ajaxForm">
       <rich:suggestionbox id="suggestion1" width="200" height="200" for="title" suggestionAction="#{suggestionBean.autocomplete}" var="suggestion">
       <h:column>
       <h:outputText value="#{suggestion}"/>
       </h:column>
       </rich:suggestionbox>
      </h:form>
      
      <h:form id="htmlForm">
       <h:inputText value="#{suggestionBean.enteredValue}" id="title" />
       <h:commandButton value="search" id="search" action="#{suggestionBean.refresh}" title="search" styleClass="imgButton" />
      </h:form>
      
      


      This is just an example page with input text field, submit button and suggestionBox.
      In Firefox everything works normal, entering something in input produces
      suggestionBox, selecting something and clicking "search" button triggers http request,
      and the browser renders the result page.

      But in Opera, as soon something other than the first item in suggestion box is selected,
      the submit button gets DISABLED or at least it behaves as a disabled button.
      Error console in opera reports no Javascript errors.

      If needed, I can send the test app .war file.

      Thanks in advance,
      Milan