[ http://issues.apache.org/jira/browse/MYFACES-1384?page=comments#action_12438151 ] Serg Maslyukov (http://webmill.askmore.info) commented on MYFACES-1384: -----------------------------------------------------------------------
Just test with release MyFaces 1.1.4 and all work fine. I think this bug can be closed. > After switch from myfaces-impl-1.1.3 (release) to myfaces-1.1.5-SNAPSHOT, > javascript throw error 'Object expected' > ------------------------------------------------------------------------------------------------------------------ > > Key: MYFACES-1384 > URL: http://issues.apache.org/jira/browse/MYFACES-1384 > Project: MyFaces Core > Issue Type: Bug > Components: General > Affects Versions: 1.1.5-SNAPSHOT > Environment: portlet environment > Reporter: Serg Maslyukov (http://webmill.askmore.info) > Assigned To: Martin Marinschek > Priority: Blocker > Attachments: company-list.jsp, > ctx-myfaces-impl-1.1.3-release-valid.html, > ctx-myfaces-impl-1.1.5-snapshot-broken-2006-09-12.html, > ctx-myfaces-impl-1.1.5-snapshot-broken.html > > > 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/ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
