You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jandilson <ja...@gmail.com> on 2007/09/24 20:09:50 UTC
Re: [jira] Created: (WW-2173) with wrong value in
'value' attribute. Tag also generates an extra line HTML line.
see:
<interceptor-stack name="defaultStack">
<interceptor-ref name="exception"/>
...
<interceptor-ref name="checkbox"/>
<interceptor-ref name="staticParams"/>
...
JIRA jira@apache.org 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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org