I did ,, but it didn't work It didn't throw exception but the layout didnot change and this is why i am thinking that the layout is set in other place to the default atfer the turbine action !!!!
-----Original Message----- From: Jeremy Ford [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 4:28 PM To: [EMAIL PROTECTED] Subject: RE: How to change the Layout in turbine action Also, try using setScreenTemplate instead of setLayout. I believe that the layout method refers to classes such as org.apache.jetspeed.modules.layouts.JetspeedLayout and others. Jeremy Ford >From: "Youssef Mohammed" ><[EMAIL PROTECTED]> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> >To: "Jetspeed Users List" ><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >Subject: RE: How to change the Layout in turbine action >Date: Tue, 14 Oct 2003 16:23:10 +0200 > >thanks > but this not help me much I am using the same call and i got Expection > >-----Original Message----- >From: Jeremy Ford [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 14, 2003 3:48 PM >To: [EMAIL PROTECTED] >Subject: Re: How to change the Layout in turbine action > > >When the PreviewPortlet uses rundata.setLayout("preview"), you'll notice >that there are 2 preview.vm's. One is in layout/html/preview.vm and the >other is screens/html/preview.vm. First, the preview.vm in >layout/html/preview.vm will be rendered. Within that template, you'll see >$screen_placeholder, which inserts screen/html/preview.vm. Hope this >helps. > >Jeremy Ford > > > >From: "Youssef Mohammed" > ><[EMAIL PROTECTED]> > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Subject: How to change the Layout in turbine action > >Date: Tue, 14 Oct 2003 15:33:27 +0200 > > > >Hi > > I tried to change the Layout in the JLoginUser action but i failed > >I tried both setLayout and setLayoutTemplate methods but now changes are > >done in the Layout . I still get the default layout > > > >Also I found in the class > >org.apache.jetspeed.portal.portlets.PreviewPortlet that it does uses the > >method rundata.setLayout("preview") and the layout is changed > > > >when i do the same in the JLoginUser I got that Horrbile Exception > > > >Horrible Exception: java.lang.ClassNotFoundException: > >Requested Layout not found: /html/preview.vm > >Turbine looked in the following modules.packages path: > >[org.apache.jetspeed.modules, org.apache.turbine.modules, > >com.rsw.jetspeed.modules] > > > >Any suggestions ? > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > >_________________________________________________________________ >Concerned that messages may bounce because your Hotmail account has >exceeded >its 2MB storage limit? Get Hotmail Extra Storage! >http://join.msn.com/?PAGE=features/es > > >--------------------------------------------------------------------- >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] > _________________________________________________________________ Never get a busy signal because you are always connected with high-speed Internet access. Click here to comparison-shop providers. https://broadband.msn.com --------------------------------------------------------------------- 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]
