[
https://issues.apache.org/jira/browse/WW-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121689#comment-14121689
]
Sravanthi Bobba commented on WW-4401:
-------------------------------------
If We have a listbox created using struts and there is no selection made in the
list then the default value used to be null before and now it is empty object.
Lets say we used String[] to populate the list selections
<s:select list="sourcelist" name="bean.selectValues"/>
when nothing is selected from this list box then the bean.selectValues(assume
selectValues is a String[]) used to be populated with null values and now it is
populated with selectValues = new String[0]
> <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)