Well I didn't have to set them in the porterl action . I did that in a the turbine actions ( e.g. JLoginUser ) and thought it would be the same for the portlet actions but it seems not !!
I am sorry that this didn't help you much -----Original Message----- From: Tim Colson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 6:23 PM To: 'Jetspeed Users List' Subject: RE: Customize layout from Portlet? > From: Youssef Mohammed > I added in the velocity context a vairable "layout" and in the default > layout template I simple parse this variable so I will get the same > functionality Hey Youssef - I tried that solution first actually. :-) But items added to the context in buildConfigureContext() did not show up in default.vm. It was as if the context was not the same, or as if default.vm was parsed before buildConfigureContext() was called. Where did you set your context variables? Thanks, Tim > -----Original Message----- > From: Tim Colson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 23, 2003 12:34 AM > To: 'Jetspeed Users List' > Subject: RE: Customize layout from Portlet? > > > I dug around in rundata and found the setLayoutTemplate() > method, tried > it but with no luck. I then found in mail-archive this post: > > http://www.mail-archive.com/[EMAIL PROTECTED]/m > sg04736.ht > ml > "Has anyone noticed that RunData.setLayoutTemplate() does not > work when > using > (the default in 1.3a3) settings VelocityDirectLayout and > VelocityDirectScreen in TR.props. I switched to using the > VelocityScreen/VelocityOnlyLayout and it works correctly." > --- > services.VelocityService.default.screen=VelocityScreen > #services.VelocityService.default.screen=VelocityDirectScreen > services.VelocityService.default.layout = VelocityOnlyLayout > #services.VelocityService.default.layout = VelocityDirectLayout > services.VelocityService.default.navigation=VelocityNavigation > > I made the changes too, and now the setLayoutTemplate() does work from > buildConfigureContext()... but the portlets are rendered at the top of > the page, and then the layout is rendered 'below' them on the page. > > Weird and not in a good way. > > Am I barking up the right tree at least? Is this a known > issue that has > been resolved? > > Thanks, > Tim > > > > > -----Original Message----- > > From: Tim Colson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 22, 2003 12:03 PM > > To: [EMAIL PROTECTED] > > Subject: Customize layout from Portlet? > > > > > > Howdy folks - > > Is it possible to change the overall layout using context > variables > > set in a portlet buildConfigureContext() ? > > > > When customizing, I want the portlet to either select a different > > layout, or tell the standard layout to display differently - ex. no > > left navigation. > > > > Thanks, > > Timo > > > > > > > --------------------------------------------------------------------- > > 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]
smime.p7s
Description: S/MIME cryptographic signature
