I noticed the Context parameter in buildMaximizedContext of VelocityPortletAction class, but I think it's only for Velocity templates (I didn't find it inside JspPortletAction class).
----- Original Message ----- From: "Raffaele Ragni" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 10:44 AM Subject: Re: JSP & setTemplate... > As i remember, the buildMaximizedContext had three parameters, rundata, > context and portlet, probably it is that? (i see context missing, but > probably it works differently with jsp) > > > ----- Original Message ----- > From: "Fabio Latrofa" <[EMAIL PROTECTED]> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]> > Sent: Tuesday, December 17, 2002 10:32 AM > Subject: JSP & setTemplate... > > > > 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]>