You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2022/09/14 18:55:00 UTC

[jira] [Closed] (WW-772) Allow radio tag to generate only one radio button

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

Lukasz Lenart closed WW-772.
----------------------------
    Resolution: Won't Fix

> Allow radio tag to generate only one radio button
> -------------------------------------------------
>
>                 Key: WW-772
>                 URL: https://issues.apache.org/jira/browse/WW-772
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - Tags
>            Reporter: Xavier Defrang
>            Priority: Minor
>             Fix For: 6.1.0
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)