Hi Malcom & Bob,

   Thank you for your reply. i still need to experiment more with Click to
see how things are going. to add more to the context of my question, i have
worked with struts2 where a freemarker ftl file can be pointed to a action
which will get rendered to UI. i was checking if some support like that is
available in Click where i can use freemarker ftl files instead of htm
files. as i have just started exploring Click, i need some time to
experiment with different stuff.

anyway, thx for your reply and looking forward for the final release of
Click.

Thank you,
bala.

On Tue, Jul 7, 2009 at 12:11 PM, Malcolm Edgar <[email protected]>wrote:

> 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