Announcement Announcement Module
No announcement yet.
Spring MVC PortletDispatcher Bug - Minimizing Java portlets not working Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC PortletDispatcher Bug - Minimizing Java portlets not working


    I am developing Java (JSR-286) portlets in WebLogic Portal 10.3.2 with the Spring MVC framework, using the 'org.springframework.web.portlet.DispatcherPortlet ' class as the portlet Java class (pointed to in the portlet.xml file).

    There appears to be a bug in the DispatcherPortlet class that causes JSR-168 and JSR-286 portlets to not minimize properly. The result is that when 'minimize' is clicked on a Java portlet, the background and border disappear but the content remains rendered on the screen.

    We were able to resolve the issue by creating a sub-class of PortletDispatcher and overriding the doRenderService(RenderRequest req, RenderResponse res) method like so:

    protected void doRenderService(RenderRequest request, RenderResponse response) throws Exception {
         if (request.getWindowState().equals(WindowState.MINIMIZED)) {
         super.doRenderService(request, response);
    This works for us in the interim, but we'd prefer to not have to maintain our own version of a Spring class. I was just wondering if anyone else has experienced this issue, or if the bug has already been submitted to Spring MVC.

    Any insight would be greatly appreciated, thank you very much.


  • #2
    This seems inline with the following post on the Weblogic forums: