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]



Reply via email to