Hi,

The case:

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.

Regards,

Marc