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

          Hide
          Martin Marinschek added a comment -

          Thanks Sergey for checking it with the release.

          regards,

          Martin

          Show
          Martin Marinschek added a comment - Thanks Sergey for checking it with the release. regards, Martin
          Hide
          Sergei Maslyukov added a comment -

          Just test with release MyFaces 1.1.4 and all work fine.
          I think this bug can be closed.

          Show
          Sergei Maslyukov added a comment - Just test with release MyFaces 1.1.4 and all work fine. I think this bug can be closed.
          Hide
          Sergei Maslyukov added a comment -

          broken page with myfaces 1.1.5 snapshot from 2006-09-12

          Show
          Sergei Maslyukov added a comment - broken page with myfaces 1.1.5 snapshot from 2006-09-12
          Hide
          Martin Marinschek added a comment -

          Are you using the tomcat component library along with this?

          Do you still get this error with the current nightly snapshots?

          regards,

          Martin

          Show
          Martin Marinschek added a comment - Are you using the tomcat component library along with this? Do you still get this error with the current nightly snapshots? regards, Martin

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development