On Dec 18, 2010, at 2:45 PM, pbreit wrote:
> This seems to work:
> 
>     form = SQLFORM(db.item)
>     if form.accepts(request.vars, session):
>         response.flash = 'Item added.'
>         redirect(URL('item', args=form.vars.id))
> 

With one caveat; you won't see the flash message unless you put it in 
session.flash instead of response.flash, because the redirect is going to end 
up with a new request from your client.

Reply via email to