Hi David,

I think you need to customize the layout templates for the purpose.
For example, you can find the following in 
/jetspeed/WEB-INF/templates/layout/html/columns/layout.vm:

    #getBoolProperty($allowAddPortlet $rootDecorator "allow.add.portlet" true)

You could set the above property to false to not display "Add portlet" button 
in some cases:

    #set ($allowAddPortlet = false)

You could play with some objects at the top of the velocity template file: 
$request, $jetspeed, $theme, $myPage, $decorator, etc.

Regards,

Woonsan


----- Original Message ----
> From: David Just <[email protected]>
> To: Jetspeed Users List <[email protected]>
> Sent: Mon, April 19, 2010 11:48:22 PM
> Subject: Is it possible to change the decorator.properties on a folder by 
> folder case?
> 
> Sometimes, I want users to be able to edit portlet preferences, but not
allow 
> them to add/remove reorganize portlets on a page/folder, but other
times I 
> want them to be able to do so.  This is on a folder by 
> folder
case.  Since it appears the only way to enable portlet edit 
> without also
enabling folder / page edit is to disable them in the decorator, 
> I would
like to be able to change just those layout properties on a folder 
> by
folder case.  Is this possible or do I have to create and manage 
> two
separate decorators?



Thanks. 



David Just l 
> Senior Software Engineer l Vision Solutions l +1 (507) 529-5939 l 
> ymailto="mailto:[email protected]"; 
> href="mailto:[email protected]";>[email protected]
The 
> contents of this e-mail (and any attachments) are privileged and 
> confidential. 
> Unauthorized use is strictly prohibited.


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to