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.

Reply via email to