struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravanthi Bobba (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (WW-4401) <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
Date Fri, 05 Sep 2014 12:07:29 GMT

    [ https://issues.apache.org/jira/browse/WW-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122843#comment-14122843
] 

Sravanthi Bobba edited comment on WW-4401 at 9/5/14 12:07 PM:
--------------------------------------------------------------

Thank you so much for the clarification!! I just gave a random example, so it is a multiple="true"
and at that point it doesn't it doesnot select one value in specific. So we automatically
select everything in the list as default if the value is null, that is why it is failing in
the condition where it is checking for null


was (Author: sbobba):
Thank you so much for the clarification!! I just gave a random example, so it is a multiple="true"
and at that point it doesn't it doesnot select one value in specific.

> <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)

Mime
View raw message