Questions about grails filters
Posted
by manojsingh
on Stack Overflow
See other posts from Stack Overflow
or by manojsingh
Published on 2010-06-05T19:00:09Z
Indexed on
2010/06/05
19:02 UTC
Read the original article
Hit count: 194
grails
Basically I have 2 questions regarding grails filters.
- According to grails documentation you can do something like below in a filter
if (userId != paramsUserId) { flash.message = "You can only modify yourself" redirect(action: 'list') return false }
If the above condition is true then how will the return statement get executed ?
- Can I have a redirect in my filter to a some action which also has a redirect ?
© Stack Overflow or respective owner