i'm trying to emulate how pylons used subrequests to handle htmlfill
population on errors ( i'm using pyramid_handlers )

in my pylons emulation code, i have this:

def form_reprint( request, form_print_method , **htmlfill_kwargs ):
    response= form_print_method()

to call it, i would do:
    return form_reprint( self.request , self.login_form )

this works as intended if login_form() returns via
"render_to_response()"

however, if login_form users the @action decorator, login_form returns
only a dict.

i'm personally not using the @action decorator much, but I'd like to
get this working nevertheless.

can someone please point me in the right direction?  thanks.

-- 
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.

Reply via email to