Persist url parameter throughout grails app
Posted
by avelis
on Stack Overflow
See other posts from Stack Overflow
or by avelis
Published on 2010-06-02T18:22:55Z
Indexed on
2010/06/03
8:14 UTC
Read the original article
Hit count: 374
Essentially I am looking to have a url query parameter persist throughout the life of the grails application (POST or GET). ex.
http://localhost:8080/demo/controller/action/?myParam=foobar
I have tried a couple routes. Dynamic method overriding redirect and customizing application tags for createLink. However, since I also use grails webflows it doesn't quite get every single URL. I also tried using a groovy servlet (groovlet) to capture every URL and append the query parameter. The last attempt hasn't been very successful. Am I missing an obvious component to grails? Am I on the right track? Is there another avenue I haven't explored yet?
Thanks in advance
© Stack Overflow or respective owner