Hi,

I'm trying to forward to a new template (works fine) and maximise the portlet at the same time (from an Action class), the code is :-


        public void doSend( RunData runData, Portlet portlet ) {
               
                logRequest( runData );
                getLogger().debug( "WhatsOnInWA send called" );
               
                String resultsTemplate = portlet.getPortletConfig().getInitParameter("results.template");
                getLogger().debug("Allow maximize : " + portlet.getAllowMaximize(runData));
                portlet.setAttribute("_display", "maximized", runData );
                setTemplate(runData, resultsTemplate, false);

        }

Unfortunately the portlet is not maximising.

I also tried ..

        public void doSend( RunData runData, Portlet portlet ) {
               
                logRequest( runData );
                getLogger().debug( "WhatsOnInWA send called" );
               
                String resultsTemplate = portlet.getPortletConfig().getInitParameter("results.template");
//                portlet.setAttribute("_display", "maximized", runData );
                JetspeedRunData jrd = (JetspeedRunData) runData;
                jrd.setMode(JetspeedRunData.MAXIMIZE);
                setTemplate(runData, resultsTemplate, false);


        }
Again without success ...

Any help greatly appreciated.

Thanks,

Nigel Dinsdale

============================================================
HBF Health Funds Inc. a registered organisation under the National Health Act
HBF Insurance Pty Ltd ACN 009 268 277
This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to