:-(

It seems you haven't received my off-list message yesterday, google
group was not working for me.

Anyway here it's the best way of mixing widgets and allow your designer
to tweak the form appearance *very* easily:

==============

If you need to feed your forms to a designer you can mix the two things
very easily, for example you can use all forms widgets features like
TextField, SingleSelectField but leave the form layout up to your
designer.

For a very customized example take a look here, keep in mind that you
don't necessarily need the StandardTextField thing but I think you can
easily understand the concept, basically all you need is
form.display_field_for('address', my_value) and
form.error_for('address').

Link:
http://trac.turbogears.org/turbogears/attachment/wiki/SimpleWidgetForm/WeAreFlexible-0.9a5.tar.gz

Ciao
Michele

mulicheng wrote:
> I've been playing around with Form widgets (0.9a5).  I've got
> validation to work and have tweaked the forms to look how I like in
> most cases.  I have forms designed by a graphical designer.  It seems
> to me that with the work I did to customize the forms (instead of using
> a standard TableForm for instance), that it might have been cleaner to
> just use the std.xxx methods to check/fill the inputs instead of use
> widgets.
>
> Is there a way to use validation on forms what are not widget Forms
> though?  What about error messages?
> 
> Just looking for some best practice advice.  
> 
> Thanks
> Dennis


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to