Awesome! 

You just improved my understanding of how the theme works. I appreciate
the input from you and Dave.

Best Regards,

MG 

-----Original Message-----
From: Wes Wannemacher [mailto:w...@wantii.com] 
Sent: Tuesday, June 09, 2009 3:59 PM
To: Struts Users Mailing List
Subject: Re: How can I insert a table into a struts form?

On Tue, Jun 9, 2009 at 4:51 PM, Griffith, Michael
*<michael.griff...@fda.hhs.gov> 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:newton.d...@yahoo.com]
> 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: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



--
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: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to