[
https://issues.apache.org/struts/browse/WW-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lee Clemens updated WW-3274:
----------------------------
Attachment: doubleselect.ftl
Attached is my updated template/simple/doubleselect.ftl file with two changes:
1) Added disabled="disabled" to double select tag if doubleDisabled="true"
2) Changed parameters.disabled to parameters.doubleDisabled for input tags
created if doubleMultiple="true"
> 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
> Attachments: doubleselect.ftl
>
>
> 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.