Hi Bala,
balachandra maddina wrote:
Hi There,
I have visited the Click project when i was browsing wikipedia for a
good UI framework in java and this framework looks very impressive.
The examples provided are really good. but i didnt find any
documentation on using FreeMarker with Click. could somebody point me
to related documentation please.
Only documentation currently shipped with Click is the Javadoc[1] showing how to
setup Freemarker. Basically one just need to specify Freemarker as the
template-service in click.xml:
<template-service
classname="org.apache.click.extras.service.FreemarkerTemplateService"/>
Once this is done Click will render .htm templates using the Freemarker service.
Please note I've never used Freemarker so feel free to correct me, but except
for some syntax changes, Freemarker seemed very similar to Velocity so most
documentation on Velocity should apply to Freemarker as well.
Hope this helps.
kind regards
bob
[1]:
http://incubator.apache.org/click/docs/extras-api/org/apache/click/extras/service/FreemarkerTemplateService.html