From: Eric B. R. <eb...@tc...> - 2002-11-25 22:05:13
|
> I thought of that, but before I pass the field values over to the > template, > I do want to do some formating of several values (e.g. dates values > from the > yyyy-mm-dd format to the dd-mm-yyyy format). I do not want to do that > in the > template. So, although I tried it, this is not an option for me. well, then this $Jetgen object should be a wrapper around the real Jetgen class. A wrapper that you write, that does the various date transformations and such. > I think I will go for this option. It is flexibele and I can add it or > not > in future projects without much trouble. Thanks for the advice. Next > problem > is how am I going to create a Tool class: www.webmacro.org, here I > come for > another visit... Tools are easy. The best place to look, imho, is in cvsweb. org/webmacro/servlet/FormTool.java for a simple example. eric |