Alternatively if you want to do only in one page

<s:form action="helloWorld*" theme="simple">

Regards,
Raghuveer Vellanki
-----Original Message-----
From: Oscar [mailto:oscar.kalde...@gmail.com] 
Sent: Friday, November 20, 2009 5:06 AM
To: Struts Users Mailing List
Subject: Re: Question about struts templates

Thanks for your answer Burton. I didn't know how to do that but for 
others that could have that problem to the way to do this is the next:

Declare a constant in struts.xml like this:

<constant name="struts.ui.theme" value="simple" />

Burton Rhodes escribió:
> Use the 'simple' theme. It just prints the HTML tag.
>
> On 11/19/09, Oscar <oscar.kalde...@gmail.com> wrote:
>   
>> Hi to all, i have a problem with struts 2 templates. The problem is that
>> when i put a s:submit in my jsp for example, it automatically creates a
>> div containing the submit and a new column in the table, and i don't
>> want that, i only want only the button. Is there a way to tell struts
>> that i don' want to use any template?
>>
>> Thanks in advance
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>   



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

Reply via email to