You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2007/06/08 03:41:26 UTC

[jira] Resolved: (WW-1606) s:checkboxlist and s:optgroup - provide a way for adding
after each item

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

Musachy Barroso resolved WW-1606.
---------------------------------

    Resolution: Won't Fix

As Ted noted, we don't do this on any other tag, and there are a couple of ways to solve this:
* override a template
* use simple template

> s:checkboxlist and s:optgroup - provide a way for adding <br/> after each item
> ------------------------------------------------------------------------------
>
>                 Key: WW-1606
>                 URL: https://issues.apache.org/struts/browse/WW-1606
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.0.2
>            Reporter: Dariusz Wojtas
>             Fix For: 2.1.0
>
>
> Currently checkboxlist creates something of form:
> <input type="checkbox" .../>  <label .../>
> I would propose to add possibility for optional <br/> element after each checkbox.
> This would make the formatting much easier - not everyone is an expert in CSS and has a solution for the desired formatting.
> I believe similar problem is with optgroup.
> I would suggest one more attribute to these tags:   
>     addLinebreak  (true|false)
> with the default value 'false' to keep consistency with the current behaviour.
> It should add linebreak after each item EXCEPT FOR THE LAST ONE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.