You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flash does not work when using interceptor and "g:include" tag, the messagInterceptor in the gsp will be missing when using "g:include" tag. the following code can reproduce the issue(pls access: http://localhost:8080/test/edit)
<g:includeview="test/toInclude.gsp"/><!-- Including the view will make 'flash.messageInterceptor' set in the TestInterceptor missing -->
<!doctype html>
<html>
<head>
<metaname="layout"content="main"/>
</head>
<body>
<spanstyle="color:${fontColor}">
messageController:${flash.messageController}
<br />
messageInterceptor:${flash.messageInterceptor}<!-- messageInterceptor does not display -->
</span>
</body>
</html>
flash does not work when using interceptor and "g:include" tag, the messagInterceptor in the gsp will be missing when using "g:include" tag. the following code can reproduce the issue(pls access: http://localhost:8080/test/edit)
controllers/test309/TestController.groovy
controllers/test309/TestInterceptor.groovy
views/test/index.gsp
views/test/toInclude.gsp
The text was updated successfully, but these errors were encountered: