I tried to override the buildMaximizedContext method of JspPortletAction to
change the template of a portlet, but it doesn't seem to work; I used the
setTemplate method. Maybe I did something wrong, but the same setTemplate()
works fine when called from a generic doUpdate() method. Any suggestion?

    public class Test extends JspPortletAction {

        public void doUpdate(RunData rundata, Portlet portlet) throws
Exception {
            setTemplate(rundata, "maximized-test.jsp");
        }

        protected void buildMaximizedContext(Portlet portlet, RunData
rundata)
        throws Exception
        {
            setTemplate(rundata, "maximized-test.jsp");
        }
    ...
    }

Best regards,

------------------------------------
Fabio Latrofa
Siva S.p.A.
Viale di Val Fiorita, 86
00144 Roma
Tel. +39 0654220452
Fax +39 0654220484



Questa e-mail e' stata verificata dal sistema di antivirus della Siva S.P.A.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to