Enrique, thank you for your help! Bob Song 2007-03-30
发件人: Enrique Perez 发送时间: 2007-03-29 00:34:55 收件人: Jetspeed Users List 抄送: 主题: Re: Some questions on customizing layout. Hi, Bob Song escribió: > Hello all, > I'm a new user of Jetspeed 2.1. When I was customzing the layout, I met some > questions: > > 1. I found in the directory /decorations/layout/tigris there were some files > of 'desktop'. > What's the function of them? I can't find any documents about them except > in the release note. It seems a new feature. > I'm interested in them because I found some jsp files in it. I'm not > familiar with velocity, so I wanna work with jsp. > Sorry, I don't know the answer to this question. > 2. How to remove mode or/and status buttons from the decorator of a portlet? > Currently, I have achieved it by copying the decorator.vm from the layout > root path to a certain layout path and removing > '#PortletActionBar($decoration)' from the file. > I'm wondering whether there are other methods. > You can specify what modes are available for a portlet in the portlet descriptor (inside "supports" tag). That way, the portal knows which controls should be added to the portlet window. If the only mode supported is the VIEW mode, portal should not provide edit or help icons. But I think that window status decorations are always available this way... though I could be wrong. If you don't want any control to be displayed, I think you can use "pretty-single-portlet" decorator which, as far as I can remember, does the same thing you've just done. > > And another general question is: where could I search infomation in old > posts, and is there any other good forums on jetspeed using and developing? > I use "openSubscriber" (www.opensubscriber.com) to dive into old posts. You can see the jetspeed user list at: http://www.opensubscriber.com/messages/[email protected]/topic.html Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
