List Info

Thread: Re: Using FlashMessenger to display a message when there was an error processing a form




Re: Using FlashMessenger to display a message when there was an error processing a form
user name
2008-06-03 10:06:39
Hey, all. I've actually run into this problem several times
myself and  
have written an action helper that performs functions
similar to  
FlashMessenger but also allows for an immediately accessible
message  
"bucket". My goal with this helper was to be able
to leverage a  
similar interface to FlashMessenger for a generic message
storage that  
would persist messages across redirects _and_ make them
available if a  
redirect did _not_ occur. After digging around in
FlashMessenger, I  
decided not to subclass it and wrote my own instead. I'd
happily make  
it (and the rest of my Zend extension library) available to
interested  
parties.

David  OrlandoPHP.org

Re: Re: Using FlashMessenger to display a message when there was an error processing a
user name
2008-06-03 10:14:53
> My goal with this helper was to be able to leverage a
similar interface to FlashMessenger
> for a generic message storage that would persist
messages across redirects
> _and_ make them available if a redirect did _not_
occur.

This is a solution we came up with at company, I'd highly
suggest
people take this route.

- jake

Re: Re: Using FlashMessenger to display a message when there was an error processing a
user name
2008-06-03 10:22:11


On 6/3/08, Jake McGraw < jmcgraw1gmail.com">jmcgraw1gmail.com> wrote:
> My goal with this helper was to be able to leverage a similar interface to FlashMessenger
> for a generic message storage that would persist messages across redirects
> _and_ make them available if a redirect did _not_ occur.


This is a solution we came up with at company, I'd highly suggest
people take this route.

And that's what I'm going for now that I now of getCurrentMessages(). Shouldn9;t require too much editing, so thanks for the help everybody!

- jake



--
Vincent
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )