Re: JS 2.2.2: cannot add portlets from toolbox

Woonsan Ko <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>



----- Original Message -----
> From: Frank Otto <[email protected]>
> To: Jetspeed Users List <[email protected]>
> Cc: 
> Sent: Monday, October 17, 2011 3:25 AM
> Subject: Re: JS 2.2.2: cannot add portlets from toolbox
> 
> hi,
> 
> thanks for your answer.
> 
> I have checked the toolbox.jsp. If the user has no admin role, the 
> "clone"-button will not be shown.
> 
> For the "add"-button you need edit access. I have defined in 
> jetspeed-portlet.xml following security constraint:
> 
> <portlet>
> <portlet-name>JetspeedToolbox</portlet-name>
> <js:security-constraint-ref>user-edit</js:security-constraint-ref>
> </portlet>
> 
> But the I don't see it. :-( Any idea?

Basically, the "add" button is for adding a portlet into the page.
So, I think you should have "edit" access to the page to see the button.
Please add "edit" access to the page or folder instead.

Regards,

Woonsan

> 
> 
> best regards,
> 
> Frank
> 
> Am 14.10.2011 09:59, schrieb David Taylor:
>>  On Thu, Oct 13, 2011 at 6:48 AM, Frank Otto<[email protected]>  
> wrote:
>>>  hi,
>>> 
>>>  I see available portlets in toolbox, but the button "add" is 
> not shown. Only
>>>  buttons "preview" and "clone" was shown.
>>> 
>>>  How can I disable the clone-button?
>>> 
>>  There doesn't seem to be a configurable way to do this short of
>>  editing the jsp and removing it
>> 
>>  ---------------------------------------------------------------------
>>  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]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.