You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "S, VENKATESH" <vs...@hp.com> on 2004/02/16 08:15:44 UTC

How to set a template through action event.give me one example

                                  

-----Original Message-----
From: Jeremy Ford [mailto:caius1440@hotmail.com]
Sent: Friday, February 13, 2004 9:23 PM
To: jetspeed-user@jakarta.apache.org
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
jford@apache.org


>From: "Holger Dewes" <h....@insiders.de>
>Reply-To: "Jetspeed Users List" <je...@jakarta.apache.org>
>To: "'Jetspeed Users List'" <je...@jakarta.apache.org>
>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:Dmitry_Sklyut@orcom.com]
> > 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:vs@hp.com]
> > 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: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>

_________________________________________________________________
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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org