spring-webflow
spring-webflow copied to clipboard
Add support for "modal:" view prefix [SWF-1281]
Rossen Stoyanchev opened SWF-1281 and commented
The "modal:" prefix would set a response header of an Ajax request instructing Spring JavaScript to render the response in a popup. This is equivalent to Web Flow's view state attribute popup="true" but for Spring MVC controllers.
A specific use case is a form submission that should result in a confirmation popup. When submitting the form the client can't pass the popup param because if the request fails server-side validation the response returns rather than presenting the confirmation.
Affects: 2.0.9
Issue Links:
- #331 Allow Spring MVC Controllers to control which fragment(s) to render for a composite view
1 votes, 1 watchers