You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/01/07 22:19:16 UTC
[jira] Updated: (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 ]
Ted Husted updated WW-1606:
---------------------------
Fix Version/s: 2.1.x
Are there other places where we use tag attributes to provide optional template behavior?
Off hand, I'm tempted to say that if the current template/theme doesn't work in a situation, and overriding the template is not desirable, then use the simple theme and code it the old-fashioned way.
-Ted.
> 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.x
>
>
> 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