History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WAFFLE-47
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Mauro Talevi
Reporter: Michael Ward
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Waffle

Action methods should be configurable to override the default PRG (Post\Redirect\Get) behavior.

Created: 13/Dec/07 10:42 PM   Updated: 15/Dec/07 03:32 AM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.0-rc-1

Time Tracking:
Not Specified


 Description  « Hide
Currently any POST request from an action method that has a void return type or returns a null value will follow PRG (Post\Redirect\Get) behavior. In other words Waffle will do a redirect as GET back to the posted page (this allows back button and refresh support for free).

While this behavior is preferred we would like the flexibility available to not do a PRG.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mauro Talevi - 14/Dec/07 09:06 AM
Added prg boolean attribute (defaulting to true) to ActionMethod and DefaultActionMethod annotations.

Mauro Talevi - 15/Dec/07 03:32 AM
@PRG annotation introduced - see WAFFLE-48.