[
https://issues.apache.org/struts/browse/WW-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42027
]
Alex McCarrier commented on WW-2137:
------------------------------------
Thanks! Docs should have this information in it as well. Themes seem like an
advanced topic, all I'm trying to do is render a table of checkboxes and it's
not working as described, no mention of "themes" ...
> struts 2 checkbox tag renders table tags contrary to what docs say
> ------------------------------------------------------------------
>
> Key: WW-2137
> URL: https://issues.apache.org/struts/browse/WW-2137
> Project: Struts 2
> Issue Type: Bug
> Components: Documentation, Views
> Affects Versions: 2.0.9
> Environment: os x 10.4.9, jdk 1.6, tomcat 5.5
> Reporter: Alex McCarrier
>
> I'm trying to use <s:checkbox/> in a table cell and running into the
> following problem.
> Docs say <s:checkbox/> tag will render like (from docs):
> <input type="checkbox" name="checkboxField1" value="true" checked="checked" />
> in reality it renders like (from my app):
> <tr>
> <td valign="top" align="right">
> </td>
> <td valign="top" align="left">
> <input type="checkbox" name="selectedStudents" value="true"
> id="studentListForm_selectedStudents"/>
> <input type="hidden" name="__checkbox_selectedStudents" value="true" /> </td>
> </tr>
> this adds an extra row to my table which I didn't intend to be there, only
> recourse is not to use struts2 checkbox tag.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.