[ http://issues.apache.org/jira/browse/OFBIZ-240?page=comments#action_12437029 ] Si Chen commented on OFBIZ-240: -------------------------------
Hey everybody, let me know if there are any objections to this. Otherwise I'll commit it on Monday. > selectAll on multi-forms > ------------------------ > > Key: OFBIZ-240 > URL: http://issues.apache.org/jira/browse/OFBIZ-240 > Project: OFBiz (The Open for Business Project) > Issue Type: Improvement > Components: framework > Reporter: Si Chen > Assigned To: Si Chen > Priority: Minor > Attachments: selectAllSmallestImpact.patch > > > Add a "select-all" button to multi-forms. Comments from mailing list: > Si, > I think you're right that this is broken. I just looked around for anything > in the form widget code referring to the "toggleAll" method and it's not > there... So, yeah, in the HtmlFormRenderer we should add the normal checkbox > to the header as is used elsewhere, like this: > <input type="checkbox" name="selectAll" value="Y" > onclick="javascript:toggleAll(this, 'selectAllForm');"/> > The "selectAllForm" string should be replaced dynamically with the form name, > and then that should do it... The rowSubmit fields should already be going in > with the use-row-submit attribute set to true. > -David -- 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
