Using Struts2 Template

2008-06-22 Thread Doug Pham
Hi All,
 Do I have to include anything special to use the Freemarker templates?

Thanks,
Doug



  

Re: Using Struts2 Template

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote:
 Do I have to include anything special to use the Freemarker templates?

The FreeMarker templates? Do you mean FreeMarker results? If so, no. If not, 
not sure what you mean.

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Using Struts2 Template

2008-06-22 Thread Doug Pham
Dave,
 Do you have to add anything to the web.xml file or what libraries to 
include.  If I am using Sitemesh, anything different I have to do?

Doug Pham

--- On Sun, 6/22/08, Dave Newton [EMAIL PROTECTED] wrote:
From: Dave Newton [EMAIL PROTECTED]
Subject: Re: Using Struts2 Template
To: Struts Users Mailing List user@struts.apache.org
Date: Sunday, June 22, 2008, 7:29 AM

--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote:
 Do I have to include anything special to use the Freemarker templates?

The FreeMarker templates? Do you mean FreeMarker results? If so,
no. If not, not sure what you mean.

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  

Re: Using Struts2 Template

2008-06-22 Thread Dave Newton
--- On Sun, 6/22/08, Doug Pham [EMAIL PROTECTED] wrote:
 Do you have to add anything to the web.xml file or
 what libraries to include.

I still don't know what templates you're talking about, so I don't know.

S2 is already dependent on FreeMarker; you don't need to do anything special 
other than make sure FreeMarker and its dependencies end up deployed.

If you're talking about FreeMarker results, read the FreeMarker result type 
docs.

http://struts.apache.org/2.0.11.1/docs/freemarker-result.html

 If I am using Sitemesh, anything different I have to do?

Yes, read the docs about the SiteMesh plugin docs and do what it says.

http://struts.apache.org/2.0.11.1/docs/sitemesh-plugin.html

Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]