Hi PJ,

You could use a template engine (Velocity, Freemarker etc) to layout the markup and add placeholders which are filled at runtime.

Here are some docs about the two approaches, template vs programmatic:
http://click.sourceforge.net/docs/controls.html#layout

And here is a Velocity example:

http://www.avoka.com/click-examples/velocity/action-table.htm
http://www.avoka.com/click-examples/source-viewer.htm?filename=/velocity/action-table.htm

There are also a Velocity Dreamweaver plugin but not sure how well it works.

Hope this helps.

kind regards

bob


PJ Pillai wrote:
Hi Bob,

I read about Click on www.therserverside.com <http://www.therserverside.com/> and decided to look into it. I
have worked on JSF, Wicket and Tapestry. But I like the simplicity and ease
of use.
At this point, I have a quick question. I looked at form examples. The html
template shows just $form reference.
I would like to build my template using HTML authoring tool like
Dreamweaver, create form and its elements and location in Dreamweaver. And
at run time, I want Click to fill the values in the form element and show it
user. I don't want to build the complete form into page class.
I work with HTML designer who designs the HTML based on customer
requirement.
Is it possible to do in Click?
Thanks,
PJP

Reply via email to