On Tue, Jun 9, 2009 at 4:51 PM, Griffith, Michael
*<[email protected]> wrote:
> Thanks Dave! That was too easy. Here I thought I would have to edit the
> template. I'm always over thinking S2.
>
> How can I make my submit buttons show up next to each other, rather than
> on separate rows (using xhtml template)
>
> <s:submit action="cancel" key="button.cancel"
> onclick="javascript:setMethod('cancel');" tabindex="2" />
> <s:submit tabindex="3" onclick="javascript:setMethod('submit');" />
>
<tr><td colspan="2">
<s:submit action="cancel" key="button.cancel" theme="simple"
onclick="javascript:setMethod('cancel');" tabindex="2" />
<s:submit tabindex="3" onclick="javascript:setMethod('submit');"
theme="simple" />
</td></tr>
Really, the xhtml theme only creates a two column table, don't over think it ;)
-Wes
> Cheers!
> mg
>
> -----Original Message-----
> From: Dave Newton [mailto:[email protected]]
> Sent: Tuesday, June 09, 2009 3:35 PM
> To: Struts Users Mailing List
> Subject: Re: How can I insert a table into a struts form?
>
> Griffith, Michael * wrote:
>>>> Create a <tr><td colspan="2">...
>> Do this in my form, or change the template?
>
> ....
>
> On your page.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]