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

Don Brown updated WW-2173:
--------------------------

    Fix Version/s:     (was: 2.0.12)

> <s:checkbox> with wrong value in 'value' attribute. Tag also generates an 
> extra line HTML line.
> -----------------------------------------------------------------------------------------------
>
>                 Key: WW-2173
>                 URL: https://issues.apache.org/struts/browse/WW-2173
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>         Environment: JDK 1.5
>            Reporter: Jay
>            Assignee: Don Brown
>
> I am using JDK 1.5 and in my JSP I have :
> <s:checkbox name="flightSegmentSelected"  value="#flightSegmentKey" 
> theme="simple"/>
> The HTML generated is:
> <input type="checkbox" name="flightSegmentSelected" value="true" 
> id="FlightSegmentDetails_flightSegmentSelected"/>
> <input type="hidden" name="__checkbox_flightSegmentSelected" value="true" />
> I was expecting something that adheres more to what the documentation says:
> <input type="checkbox" name="flightSegmentSelected" value="THE VALUE OF 
> FLIGHTSEGMENTKEY" id="FlightSegmentDetails_flightSegmentSelected"/>
> That is, the second line is not there and the value attribute actually 
> contains the value of the object in the value stack.
> This issue is rather a follow-up to WW-2137. That issue was closed, but I 
> still having the same problems reported.
> Thank you

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to