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

After switch from myfaces-impl-1.1.3 (release) to myfaces-1.1.5-SNAPSHOT, javascript throw error 'Object expected'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • General
    • None
    • portlet environment

    Description

      After switch from myfaces-impl-1.1.3 (release) to myfaces-1.1.5-SNAPSHOT, javascript throw error 'Object expected'

      If look at file ctx-myfaces-impl-1.1.3-release-valid.html , you can see what function for clear form named as 'clear_company_5Fform()'. But in file ctx-myfaces-impl-1.1.5-snapshot-broken.html this form now named as 'clearFormHiddenParams_company_form(currFormName)'

      In both files code with link not changed:
      <tr><td><a href="#" onclick="clear_company_5Fform();document.forms['company_form'].elements['company_form:_link_hidden_'].value='company_form:subviewCompanyList:companyDataTable:0:_idJsp6ns17';if(document.forms['company_form'].onsubmit){var result=document.forms['company_form'].onsubmit(); if( (typeof result == 'undefined') || result ) {document.forms['company_form'].submit();}}else

      {document.forms['company_form'].submit();}

      return false;" id="company_form:subviewCompanyList:companyDataTable:0:_idJsp6ns17">1st company</a></td></tr>

      All of jsp files of this JSF appl you can find here:
      http://svn.sourceforge.net/viewvc/riverock/trunk/riverock-portlet/src/main/webapp/riverock/manager/company/

      Attachments

        Issue Links

          Activity

            People

              mmarinschek Martin Marinschek
              serg_main@yahoo.com Sergio Lissner
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: