[
https://issues.apache.org/jira/browse/WW-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131484#comment-14131484
]
Sravanthi Bobba edited comment on WW-4401 at 9/12/14 12:38 PM:
---------------------------------------------------------------
Yes that is the only major change, sorry could have given the example in the
beginning. Thank you once again for helping.
<s:select id="xyzList" list="xyzList" name="myBean.xyzList" headerKey="-1"
label="XYZ" labelposition="top" style="width:100px" size="5" multiple="true"/>
myBean is a global variable Object with getters and setters in the ACTION Class
with xyzList as a List<String> in the myBean bean with getter and setters to
set the value.
was (Author: sbobba):
Yes that is the only change, sorry could have given the example in the
beginning. Thank you once again for helping.
<s:select id="xyzList" list="xyzList" name="myBean.xyzList" headerKey="-1"
label="XYZ" labelposition="top" style="width:100px" size="5" multiple="true"/>
myBean is a global variable Object with getters and setters in the ACTION Class
with xyzList as a List<String> in the myBean bean with getter and setters to
set the value.
> <s:select list="xyzlist" name="bean.someArray"></s:select> , if no selections
> made by user, the array gets injected with empty array instead of null and
> same is the case with List
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WW-4401
> URL: https://issues.apache.org/jira/browse/WW-4401
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: 2.3.16.3
> Environment: Mac, Tomcat 6/7
> Reporter: Sravanthi Bobba
> Fix For: 2.5.x
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)