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'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.5-SNAPSHOT
    • Fix Version/s: 1.1.5
    • Component/s: General
    • Labels:
      None
    • Environment:
      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/

        Issue Links

          Activity

          Manfred Geiler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Manfred Geiler made changes -
          Fix Version/s 1.1.5 [ 12312310 ]
          Fix Version/s 1.1.5-SNAPSHOT [ 12311960 ]
          Martin Marinschek made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 1.1.5-SNAPSHOT [ 12311960 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Martin Marinschek made changes -
          Link This issue relates to TOMAHAWK-606 [ TOMAHAWK-606 ]
          Sergei Maslyukov made changes -
          Martin Marinschek made changes -
          Field Original Value New Value
          Assignee Martin Marinschek [ mmarinschek ]
          Sergei Maslyukov created issue -

            People

            • Assignee:
              Martin Marinschek
              Reporter:
              Sergei Maslyukov
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development