![]() |
|
|
|
|
Change By:
|
Tobias Mattsson
(07/Jul/14 8:21 PM)
|
|
Description:
|
It works fine when returning UuidRedirectView directly but with the short-hand string syntax it doesn't work.
It appears to be a shortcoming in Spring itself where the view needs to be detected as a redirect view directly after its returned from the controller. This happens in ViewNameMethodReturnValueHandler and its not exactly trivial to customize its behavior as you'd need to explicitly configure the full set of HandlerMethodReturnValueHandlers.
It is possible to fix it by subclassing RequestMappingHandlerAdapter and replace the ViewNameMethodReturnValueHandler with a custom implementation that can detect Blossom's redirect prefixes. Unfortunately this will involve repeating the logic in UuidRedirectViewResolver.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------