Edit your struts.xml to reflect the following:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.ui.theme" value="simple" />
...
...
</struts>
The behavior should be more as you expect after that. You will lose things
like the label property on textfields though. In that case you just type it
outside like:
...
<tr>
<td>User ID:</td>
<td><s:textfield name="account.login" /></td>
</tr>
...
-----Original Message-----
From: akash agrawal [mailto:[EMAIL PROTECTED]
Sent: Friday, April 11, 2008 3:51 PM
To: [email protected]
Subject: Two buttons on same row
Hi,
s:submit creates a row for a button. I have two buttons and two submit
appears on two different row. How do I put them on the same row? Can anyone
give an example?
Thanks,
-Akash
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
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]