> -----Original Message-----
> From: S, VENKATESH [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 16, 2004 8:18 AM
> To: Jetspeed Users List
> Subject: RE: How to set a template through action event.give
> me one example
>
>
> Hi,
> Thanking all of you for your responses.
> Please anyone can give me an example for setting the
> template through actionevent.
> That is how to set a template through action event.Is
> already any example exixts in jetspeed if exists please let me know
In your portlet action class:
public void doMyevent(RunData rundata, Context context)
{
setTemplate(rundata, "my_template");
}
>
> -----Original Message-----
> From: S, VENKATESH
> Sent: Monday, February 16, 2004 12:46 PM
> To: Jetspeed Users List; [EMAIL PROTECTED]
> Subject: How to set a template through action event.give me
> one example
>
>
>
>
> -----Original Message-----
> From: Jeremy Ford [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 13, 2004 9:23 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Is there any way to set template through action class
>
>
> In order for this to work, you cannot specify the action in
> the URL. You
> can only specify the actionEvent.
>
> Jeremy Ford
> [EMAIL PROTECTED]
>
>
> >From: "Holger Dewes" <[EMAIL PROTECTED]>
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> >Subject: RE: Is there any way to set template through action class
> >Date: Fri, 13 Feb 2004 16:27:36 +0100
> >
> > > -----Original Message-----
> > > From: Dmitry Sklyut [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 13, 2004 3:18 PM
> > > To: 'Jetspeed Users List'
> > > Subject: RE: Is there any way to set template through action class
> > >
> > >
> > > If you use Jetspeed action classes (GenericMVCAction,
> etc), you can
> > > do this.setTemplate(rundata, "template/location");
> >
> >...but not in buildNormalContext() or in a Jetspeed action event,
> >because it's already too late then. You can only set it in a Turbine
> >action event (by explicitly calling the action class).
> >
> >--
> >Holger Dewes
> >
> > >
> > > Dmitry
> > >
> > > -----Original Message-----
> > > From: S, VENKATESH [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 13, 2004 8:27 AM
> > > To: Jetspeed Users List
> > > Subject: Is there any way to set template through action class
> > >
> > >
> > > Hi,
> > > Is there any way to set a template through action class.
> > > I tried setTemplate method but it is not working.
> > > My requirement is,
> > > Through java or action class i should be able to
> > > dynamically set the template in a specific pane.
> > >
> > > I tried by this way
> > > JetspeedRunData udata = (JetspeedRunData)rundata;
> > > udata.setScreenTemplate("xyz");
> > >
> > > xyz is .vm file
> > >
> > > But i am not able to get the display or content of
> that template
> > >
> > >
> > >
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Check out the great features of the new MSN 9 Dial-up, with
> the MSN Dial-up
> Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]