Thanks!
Edgar

On Apr 20, 2:32 pm, "Brian O'Connor" <[email protected]> wrote:
> I think this is what you're looking for -
>
> http://www.pylonshq.com/docs/en/0.9.7/thirdparty/webhelpers/pylonslib/
>
> Hope that helps,
> Brian O'Connor
>
>
>
> On Mon, Apr 20, 2009 at 12:41 PM, edgarsmolow <[email protected]> wrote:
>
> > I'm looking for best practices when it comes to updating a row (or
> > rows) on a table, and then informing the user of successful update.
>
> > For example, suppose you have web form that lets the user update his
> > contact information.  It's submitted to the 'update' action in the
> > controller called 'mycontroller'.  The action updates the database.
> > And then you'd like to return the user to the form with a message like
> > "Database updated successfully".  Issuing h.redirect_to
> > (controller='mycontroller', action='edit') is an option, but how do
> > you set the message text so it is shown in a Mako template?
>
> > Thanks.
> > Edgar
>
> --
> Brian O'Connor
--~--~---------~--~----~------------~-------~--~----~
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