spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

Add support for "modal:" view prefix [SWF-1281]

Open spring-operator opened this issue 15 years ago • 0 comments

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

spring-operator avatar Mar 19 '09 12:03 spring-operator