You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2009/10/15 19:19:50 UTC

[jira] Resolved: (WW-3274) doubleSelect does not use parameter doubleDisabled in doubleselect.ftl

     [ https://issues.apache.org/struts/browse/WW-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-3274.
---------------------------------

    Resolution: Fixed

merged into trunk, thanks for the patch!

> 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
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: doubleselect.ftl, doubleselect.ftl, patchfile.txt
>
>
> 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.