To include your own formatting, use the simple theme.
The default theme can be specified for the application in the struts
configuration.
<constant name="struts.ui.theme" value="simple" />
A different theme can be specified for individual forms as needed.
<form theme="simple" ...
or for any of the individual Struts tags.
The default theme can also be changed by setting a "theme" attribute
in page, request, session, or appication scope (whew!). It's also
possible to override the layout of a specific tag and load your own
template instead.
* http://struts.apache.org/2.x/docs/template-loading.html
HTH, Ted
<http://www.husted.com/ted/blog/>
On 3/29/07, Felipe Rodrigues <[EMAIL PROTECTED]> wrote:
Hi guys,
Does somebody have an example about how make a form using the struts tags,
with all of components in a single line?
I tried this, but did not worked:
<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>
Thanks,
Felipe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]