From: "Matt Feifarek" <[EMAIL PROTECTED]>
> | Is it easy/possible to integrate with complex form layout?
> | (i.e, is the presentation separate from the form logic?)
>
> Not really. We did this, and basically wrote wrapper classes using a

You can use Cheetah -
in your servlet
rf = self.renderableForm(defaults=defaults, optionSet=options)
t = Template(file=templateFile,searchList=[{'rf':rf, 'user':userToView}])

and in the template:
   <tr><td align="right" valign="top" 
class="label">$rf['username'].description:</td><td>$rf['username'] $rf

> | easier then. :) I'd be willing to write a modification
> | along these lines if someone will say "that sounds like it
> | fits into the FunFormKit ideal".
>
> It seems difficult to "fit" something into FFK. FFK seems very
> full-featured, but the whole paint/input/post/validate loop is quite
> complicated and makes it hard to adapt. We have satisfactory results with

Basically you can tie any code either a submit button or a field validation routine.
I have one form w/ five buttons and each button calls a different method in the code.  
I have not run into anything too complex for
this system.
You can also stick code in a custom validator for any field, or for the whole form.

An example was posted to the mailing list a while ago but I cannot find it.
I can send my example if you like.

But I'd love to see your code as well.

-Aaron



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to