[ https://issues.apache.org/struts/browse/WW-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39703 ]
Dariusz Wojtas commented on WW-1606: ------------------------------------ oc course I meant linebreak after a pair: checkbox & label <input type="checkbox" .../> <label .../> <br/> > 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 > > 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. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira