[ 
http://issues.apache.org/jira/browse/OFBIZ-240?page=comments#action_12437024 ] 
            
Leon Torres commented on OFBIZ-240:
-----------------------------------

By title="somethingOrElse", I mean the title is a required attribute.  If no 
title is specified, the selectAll checkbox won't be generated.  This is due to 
the limitation of the method that renders the header title, which only runs if 
title is not empty.  To work around this would require ripping the code up 
more, which I didn't want to do.

> 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
>            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

        

Reply via email to