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 (Closed) (JIRA)" <ji...@apache.org> on 2011/12/09 12:20:40 UTC
[jira] [Closed] (WW-3061) labelSeperator attribute on radio tag
appears to do nothing
[ https://issues.apache.org/jira/browse/WW-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart closed WW-3061.
-----------------------------
Resolution: Not A Problem
The same as in WW-2343
> labelSeperator attribute on radio tag appears to do nothing
> -----------------------------------------------------------
>
> Key: WW-3061
> URL: https://issues.apache.org/jira/browse/WW-3061
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: 2.1.6
> Reporter: Paul Nilsson
> Priority: Minor
>
> Maybe related to https://issues.apache.org/struts/browse/WW-2343
> It appears that nothing was printed out at all when using labelSeperator, also there seems to be no way to specify a cssClass for the labelSeperator. The radio tag takes a cssClass parameter but only sets that in the <input> element not the <label> one.
> I'd expect people would often like to use this to throw in a <br> between entries. This doesn't seem to be easily possible due to labelSeperator escaping the input (if it works correctly), and not being able to specify a class for the label element.
> I'm using the workaround below which seems to work due to the way the tag formats the whitespace, but not something I'd like to rely on.
> <div style="white-space:pre-wrap;"><s:radio list="theList" name="theName"/></div>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira