dirkmc/press — Issue #21: press overriding flash scope
Author: sauravshah
Created: 2011-11-26 06:48:37+00:00
State: open

Take the secure module for example.

1. Add a controller annotated with @With(Secure.class)
2. Override the secure login template.
3. Use press to serve the css and javascript

If you go to http://yourhost:port/controller-path you should see a login page. After logging in the page will take you to http://yourhost:port/ instead of http://yourhost:port/controller-path. The secure module stores the continue url in the flash cookie which is deleted by the press request.
A flash.keep() while serving press files would probably solve this issue.