morciuch 2002/09/10 08:17:29
Modified: src/java/org/apache/jetspeed/services JetspeedSecurity.java
Log:
Implemented "Print Friendly Format" portlet action icon (see Bugzilla bug# 11741).
Also, made necessary changes for displaying action icons' alt text in proper case and
user friendly description (for example, "Information" rather than "info").
Initial implementation uses content.vm layout to display the portlet without any
decorations. Note that this layout has no link to get back to prior page so the user
has to click browser's previous button. Based on individual requirements, the layout
may be customized with addition of "Back to prior page" link. To override the layout,
change portlet.action.print.template in jr.props.
Revision Changes Path
1.13 +3 -1
jakarta-jetspeed/src/java/org/apache/jetspeed/services/JetspeedSecurity.java
Index: JetspeedSecurity.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/JetspeedSecurity.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- JetspeedSecurity.java 28 Jun 2002 05:37:32 -0000 1.12
+++ JetspeedSecurity.java 10 Sep 2002 15:17:29 -0000 1.13
@@ -101,6 +101,7 @@
*
* @see org.apache.jetspeed.services.security.JetspeedSecurityService
* @author <a href="mailto:[EMAIL PROTECTED]">David Sean Taylor</a>
+ * @author <a href="mailto:[EMAIL PROTECTED]">Mark Orciuch</a>
* @version $Id$
*/
@@ -114,6 +115,7 @@
public static final String PERMISSION_DETACH = "detach";
public static final String PERMISSION_CLOSE = "close";
public static final String PERMISSION_INFO = "info";
+ public static final String PERMISSION_PRINT_FRIENDLY = "print_friendly";
// Jetspeed security only has one group.
// Access Control checks are only role-based.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>