I am not sure if that's what I need. As I mentioned in my original post,
I have extracted the ajax them to /template/ajax and modified the
template submit.ftl. The problem now is how to reference this template
from my JSP.
I DON'T want to change the theme. I need it to be ajax for this page.
Musachy Barroso wrote:
http://cwiki.apache.org/WW/extending-themes.html
musachy
On 6/23/07, Mansour <[EMAIL PROTECTED]> wrote:
Hello every one:
I couldn't find an answer to this simple question on struts doc site.
I need to modify the template for the submit button and remove the <tr>
tag surrounding it in ajax theme.
I extracted submit.ftl from struts jar (I am using 2.0.6). Did the
modification I need, and now can not refrence it from my JSP. I tried
using template and templateDir attributes but no luck.
The modified template file is in /template/ajax/submit.ftl of my WEBAPP
ROOT. Then I moved this directory to WEB-INF and no luck.
I tried this template="/template/ajax/submit.ftl" and tried
templateDir="/template/ajax" and templateDir="template" but no luck.
can some one point out, how to do this.
---------------------------------------------------------------------
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]