Details
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
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
Attachments
Issue Links
- relates to
-
TOMAHAWK-606 t:commandLink does not work - gives javascript error
- Closed