doubleSelect does not use parameter doubleDisabled in doubleselect.ftl
----------------------------------------------------------------------

                 Key: WW-3274
                 URL: https://issues.apache.org/struts/browse/WW-3274
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.8
         Environment: Struts 2.1.8
            Reporter: Lee Clemens
            Priority: Minor


In simple\doubleselect.ftl, parameters.doubleDisabled is not checked in the 
select tag.

I added checking and the addition of the disabled="disabled" attribute within 
the select tag, starting at line 62.

parameters.disabled is checked for the input tag(s) if doubleMultiple="true", 
but I think this may need to be parameters.doubleDisabled as select.ftl should 
have taken care of that already (line 66 in Struts 2.1.8 doubleselect.ftl).

If there is a more useful way for me to attach a patch or display a diff, 
please let me know and I will happily update.

62,64d61
< <#if parameters.doubleDisabled?default(false)>
<  disabled="disabled"
< </#if>
69c66
< <#if parameters.doubleDisabled?default(false)>
---
> <#if parameters.disabled?default(false)>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to