Hi all!!
Try this for print button:
<access action="print_friendly">
Moabi Nyokong
<MoabiN@discov To: "'Jetspeed Users List'"
ery.co.za> <[EMAIL PROTECTED]>
cc:
22/01/2003 Subject: RE: Remove Maximize, minimise
12.50 etc. buttons from portlet
Please respond
to "Jetspeed
Users List"
Thanks! It works for the normal buttons....Any luck with the info and print
buttons?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2003 12:18
To: [EMAIL PROTECTED]
Subject: RE: Remove Maximize, minimise etc. buttons from portlet
I've had some success by creating a new security reference in security.xreg
and assigning the user to the appropriate role and enabling the security
reference over the portlet or pane.
<security-entry name="ViewMinMaxUser">
<meta-info>
<title>View Minimize and Maximize</title>
<description>Access type allows view, minimize, and
maximize.</description>
</meta-info>
<access action="maximize">
<allow-if role="user"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
<access action="minimize">
<allow-if role="user"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
<access action="view">
<allow-if role="user"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
</access>
</security-entry>
Regards,
Brad
Moabi Nyokong <[EMAIL PROTECTED]> wrote:
>Hi All,
>I've searched through the mailing list for clues on how to do this, but
>every strategy (Permisssions, <security>, <security-ref> etc.) doesn't
>seem to work on JS 1.4-b3. The only thing I am able to do completely
>remove any buttons by modifying :
>
>services.JetspeedSecurity.action.allusers.disable=false
>
>To "true" in JetspeedSecurity.prop
>
>
>Has anybody been able to do this?
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]