You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark P Ashworth <in...@connext.co.za> on 2007/07/05 08:36:43 UTC

[S2] FreeMarker sample application

Good Day,

I have been using FreeMarker for the S2 plug-in development and some other
projects. I find the FTL language more expressive than JSP and I was
wondering if there is a sample S2 application that makes use of FTL for the
views.

Regards,
Mark P Ashworth
http://www.connext.co.za
-- 
View this message in context: http://www.nabble.com/-S2--FreeMarker-sample-application-tf4027968.html#a11441567
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: [S2] FreeMarker sample application

Posted by Mark P Ashworth <in...@connext.co.za>.
Good Day,

Thanks for the pointer. I created a project using the starter but it uses
JSP as the view technology. It was not a big issue to change to FTL. 

1. Just changed the result of the actions to result="freemarker"
2. Renames the .jsp to .ftl
3. Changed the &lt;s: tags to &lt;@s. tags

All was happy after that. 

Regards,
Mark P Ashworth

 


Don Brown wrote:
> 
> I believe our Struts 2 Starter archetype uses Freemarker.  See the
> archetype section in our docs.
> 
> Don
> 
> On 7/5/07, Mark P Ashworth <in...@connext.co.za> wrote:
>>
>> Good Day,
>>
>> I have been using FreeMarker for the S2 plug-in development and some
>> other
>> projects. I find the FTL language more expressive than JSP and I was
>> wondering if there is a sample S2 application that makes use of FTL for
>> the
>> views.
>>
>> Regards,
>> Mark P Ashworth
>> http://www.connext.co.za
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--FreeMarker-sample-application-tf4027968.html#a11441567
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-S2--FreeMarker-sample-application-tf4027968.html#a11538047
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: [S2] FreeMarker sample application

Posted by Don Brown <do...@gmail.com>.
I believe our Struts 2 Starter archetype uses Freemarker.  See the
archetype section in our docs.

Don

On 7/5/07, Mark P Ashworth <in...@connext.co.za> wrote:
>
> Good Day,
>
> I have been using FreeMarker for the S2 plug-in development and some other
> projects. I find the FTL language more expressive than JSP and I was
> wondering if there is a sample S2 application that makes use of FTL for the
> views.
>
> Regards,
> Mark P Ashworth
> http://www.connext.co.za
> --
> View this message in context: http://www.nabble.com/-S2--FreeMarker-sample-application-tf4027968.html#a11441567
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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