Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Gordon Flash Grails plugin protects flash scope from being cleared out unnecessarily
Groovy Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
grails-app
scripts
src/java/com/jetbootlabs/gordonflash
test/functional
web-app
.gitignore
CHANGELOG.md
GordonFlashGrailsPlugin.groovy
LICENSE.txt
README.md
application.properties
grails-gordon-flash-0.2.zip
grails-gordon-flash-0.3.zip
grails-gordon-flash-0.4.zip
grails-gordon-flash-0.5.zip
plugin.xml

README.md

Gordon Flash Grails Plugin

Gordon Flash Grails plugin protects the flash scope from being cleared out by static file requests, AJAX requests, non-HTML responses, error responses, and explicitly protected requests.

The default config will be good enough to protect the flash scope in most cases. In special cases, you can explicitly protect the flash scope during a request by calling request.setAttribute(GordonFlashFilter.PROTECT_FLASH_SCOPE, true)

To install the latest version in your app: grails install-plugin gordon-flash

DEVELOPER NOTES

Releasing+packaging plugin
  1. Remove -DEV suffix from version number in GordonFlashGrailsPlugin.groovy
  2. Add release notes to CHANGELOG and update version number
  3. Run grails package-plugin
  4. Push new plugin zip file to git repo
  5. Tag with: git tag "v0.x" && git push --tags
  6. Release to the grails plugin repo without source (source is on github) using: grails release-plugin -zipOnly . This will ask for your svn credentials (same as your xircles account).
  7. Increment version in GordonFlashGrailsPlugin.groovy to 0.x+1-DEV
  8. Push to git repo
Running tests

grails test-app functional:

Running app

grails run-app

Enable debugging

Edit Config.groovy log4j config

Grails repo svn access

svn --username xircles-user --password xircles-pwd checkout https://svn.codehaus.org/grails-plugins/grails-gordon-flash

AUTHOR

Developed by Eliot Sykes https://github.com/eliotsykes, contributions welcome

Something went wrong with that request. Please try again.