Storing model objects for POST-REDIRECT-GET

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Storing model objects for POST-REDIRECT-GET

by Unmesh joshi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,
MessageStoreInterceptor is very handy in preserving error messages. This is very useful in POST-REDIRECT-GET pattern. An action handling POST can store action errors which are available for action/view processing GET request after POST.Many times we also need to preserve values entered by user on the form which caused action errors. Therefore it will be useful to have something likeModelStoreInterceptor which preserves model across requests and makes it available on value stack. Anyone knows if this is written already?
Thanks,Unmesh      
_________________________________________________________________
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop