| 
jforum example source code file (PageActions.jsp)
 The jforum PageActions.jsp source code
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<%
  /* see commonheader.jsp */
  String prefDateFormat     = (String) session.getAttribute("prefDateFormat");
  String prefTimeZone       = (String) session.getAttribute("prefTimeZone");
  String group              = request.getParameter( "group" );
%>
<div class="pageactions">
  
    <span class='quick2Top'> 
    <wiki:CheckRequestContext context='info|diff|upload|edit'>
      <span>
        <wiki:PageType type="page">
          <wiki:LinkTo>View page
        </wiki:PageType>
        <wiki:PageType type="attachment">
          <wiki:LinkToParent>View page
        </wiki:PageType>
      </span>
    </wiki:CheckRequestContext>
  
    <wiki:CheckRequestContext context='view|info|diff|upload'>
      <wiki:Permission permission="edit">
        <span>
          <wiki:PageType type="page">
            <wiki:EditLink>Edit page
          </wiki:PageType>
        </span>
      </wiki:Permission>
  
      <wiki:Permission permission="comment">
        <span>
          <wiki:PageType type="page">
            <wiki:CommentLink>Add Comment
          </wiki:PageType>
          <wiki:PageType type="attachment">
            <a href="Comment.jsp?page=
Other jforum examples (source code examples)Here is a short list of links related to this jforum PageActions.jsp source code file:  | 
| ... this post is sponsored by my books ... | |
         
           #1 New Release!  | 
      
         
           FP Best Seller  | 
  
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse 
URI on this website is
paid back to open source projects.