Results 1 to 2 of 2

Thread: Spring MVC PortletDispatcher Bug - Minimizing Java portlets not working

  1. #1
    Join Date
    Jul 2012
    Posts
    1

    Question Spring MVC PortletDispatcher Bug - Minimizing Java portlets not working

    Hello,

    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:

    Code:
    @Override
    protected void doRenderService(RenderRequest request, RenderResponse response) throws Exception {
         if (request.getWindowState().equals(WindowState.MINIMIZED)) {
              return;
         }
    
         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.

    Jeff

  2. #2

    Default

    This seems inline with the following post on the Weblogic forums:

    https://forums.oracle.com/forums/thr...readID=1109399

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •