Mar 10th, 2010, 02:56 AM
DefaultAnnotationHandlerMapping with webflow in a Portlet
I'm building a portlet that has a 'view' and an 'edit' mode. In de view mode I want to use webflow. In the edit mode I want to use just a controller in combination with the DefaultAnnotationHandlerMapper.
Normally the DefaultAnnotationHandlerMapping will initiate the right controller due to the fact that the controller is annotated with '@RequestMapping("VIEW")'.
All the examples I found with webflow in a portlet are configured with the 'portletModeHandlerMapping'.
Is there a way to combine those two so I can use the annotations in my editController?
I can't figure out the configuration to combine. Its either the portletModeHandlerMapping or the DefaultAnnotationHandlerMapping.
Tags for this Thread