You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by mo...@apache.org on 2002/09/10 17:17:29 UTC

cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services JetspeedSecurity.java

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:david@bluesunrise.com">David Sean Taylor</a>
  + * @author <a href="mailto:morciuch@apache.org">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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>