Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3145

Myfaces h:commandButton errors on Mozilla >3.6 when using Javascript form.submit()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.10-SNAPSHOT
    • None
    • website
    • None
    • Myfaces 1.1.10 on Tomcat 6.0.x

    Description

      submitting commandButton buttons using javascript code "document.getElementById('jsfsearch').submit()" doesn't send all values in the form to the tomcat when using Mozilla. whereas the same code works on IE.

      ===============================================
      <h:form id="jsfsearch">

      <h:commandButton id="abutton" style="font:
      bold 100% 'trebuchet ms',helvetica; font-size: 18px;background-color:rgb(201,200
      ,202); border-color:rgb(234,40,57); border-style:thin;" immediate="true" onclick
      ="return submitSearch();" action="#

      {searchController.simple}

      " value="#

      {searchmes sages['simplesearch']}

      "/>

      <h:inputText id=
      "search_Srch1" value="#

      {searchController.vSrch1}

      " rendered="#

      {searchContr oller.searchparameter1}

      " />
      </h:form>

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            tipirneni suresh t
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: