RE: Question about struts templates
Alternatively if you want to do only in one page 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: Burton Rhodes escribió: > Use the 'simple' theme. It just prints the HTML tag. > > On 11/19/09, Oscar 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
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: Burton Rhodes escribió: Use the 'simple' theme. It just prints the HTML tag. On 11/19/09, Oscar 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
Re: Question about struts templates
Use the 'simple' theme. It just prints the HTML tag. On 11/19/09, Oscar 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
Question about struts templates
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