I think pyramid_simpleform is the easiest.
I forked it and added a method to handle form reprints. I think its
in that sqla fork I shared with you too. if you stick to the
following paradigm, it works well:
def form_dispatch:
if request.submit:
return self._form_submit
return self._form_print
def _form_print:
return render(form)
def _form_submit:
try:
form.validate
except FormError:
return self._form_print()
redirect( form_success_url )
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.