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:
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.Code:@Override protected void doRenderService(RenderRequest request, RenderResponse response) throws Exception { if (request.getWindowState().equals(WindowState.MINIMIZED)) { return; } super.doRenderService(request, response); }
Any insight would be greatly appreciated, thank you very much.
Jeff


Reply With Quote
