You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2008/05/28 16:37:05 UTC
[jira] Commented: (WW-772) Allow to radio tag to generate only one
radio button
[ https://issues.apache.org/struts/browse/WW-772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43982#action_43982 ]
James Holmes commented on WW-772:
---------------------------------
I agree with Tom and Ted. There should be 2 tags with 2 separate purposes.
> Allow to radio tag to generate only one radio button
> ----------------------------------------------------
>
> Key: WW-772
> URL: https://issues.apache.org/struts/browse/WW-772
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Reporter: Xavier Defrang
> Assignee: tm_jee
> Priority: Minor
> Fix For: Future
>
>
> Right now, WebWork's radio tag generates a list of radio buttons.
> This assumption goes a bit too far as in some case you may have optional fields or random HTML in between those widgets.
> I would expect the following code to generate a two standalone radio button:
> <snip>
> ...
> <ww:radio name="some.property" value="'choice1'" />
> ...
> <ww:radio name="some.property" value="'choice2'" />
> ...
> </snip>
> The radio button should be checked if some.property == value.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.