You might want to read the documentation of Struts 2 (hint, under FAQ
[1]) before you shout 'BUG'.
Plus, you should use the user mailing list for questions like this,
the dev list is for the development of Struts 2.
[1]
http://cwiki.apache.org/WW/why-do-the-form-tags-put-table-tags-around-controls.html
Thank you,
Phil
On 3/29/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm using a <table> to organize the layout of my form. I'd like to get all
components in one line, so, I'm using this code:
<table>
<tr>
<td>some text</td>
<td>other text</td>
<td><s:textfield name="any" size="30" required="true"/></td>
<td><s:checkbox name="check" value="OUT"></s:checkbox></td>
<td><s:checkbox name="check2" value="INV"></s:checkbox></td>
</tr>
</table>
But when rendering the page, struts put each component under the other. I
checked out the generated code and found some <tr> tags lost in middle of my
<td> tags. These <tr> tags was added by struts.
Is that a real bug? Any idea?
Regards,
Felipe
--
View this message in context:
http://www.nabble.com/BUG---Struts-ui-components-inside-%3Ctable%3E-mess-the-layout.-tf3488497.html#a9741411
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
iDTV System Engineer
"Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live." - John F. Woods
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]