see: 

<interceptor-stack name="defaultStack">
                <interceptor-ref name="exception"/>
                 ...

                <interceptor-ref name="checkbox"/>
                <interceptor-ref name="staticParams"/>
...









JIRA [EMAIL PROTECTED] wrote:
> 
> <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.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-jira--Created%3A-%28WW-2173%29-%3Cs%3Acheckbox%3E-with-wrong-value-in-%27value%27-attribute.-Tag-also-generates-an-extra-line-HTML-line.-tf4431923.html#a12865097
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to