FreeMarker has excellent documentation at:  http://freemarker.org/

Please note some of the Click controls have use a Velocity Template
which will not work with the FM templating engine. Off the top of my
head these include the ListPanel, TabbedPanel and TabbedForm.  You
would need to swap the VM templates with the equivalent FM version.

If you want to contribute any of these back to the project that would be great.

regards Malcom Edgar

On Tue, Jul 7, 2009 at 4:31 PM, Bob Schellink<[email protected]> wrote:
> 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
>

Reply via email to