Thursday, November 20, 2008

RestoreState Plugin Released



After some posts (1, 2, 3) about remembering/restoring the state of list pages I decided to finally put this functionality in a tiny plugin.

The plugin provides convenient methods to controller classes for remembering state. With the default Grails scaffolding each time you navigate away from a list page (e.g. going to the show page) the state of the list is lost when you return. This can be annoying when you paged to a certain page within the list. A typical use case for this plugin is restoring the pagination state (like offset and sorting) of list pages

Have a look at the plugin page for more information.

1 comment:

Unknown said...

Nice. I've been hacking this kind of feature into my apps as one-offs. Good to see it in a plugin!