| 
jforum example source code file (PageContent.jsp)
 The jforum PageContent.jsp source code
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<%-- Inserts page content. --%>
<div id="pagecontent">
  <%-- If the page is an older version, then offer a note and a possibility
       to restore this version as the latest one. --%>
  <wiki:CheckVersion mode="notlatest">
    <div class="warning">
      This is version <wiki:PageVersion/>.  
      It is not the current version, and thus it cannot be edited.<br />
      <wiki:LinkTo>[Back to current version]  
      <wiki:EditLink version="this">[Restore this version]
    </div>
  </wiki:CheckVersion>
  <%-- Inserts no text if there is no page. --%>
  <wiki:InsertPage />
  <wiki:NoSuchPage>
    <!-- FIXME: Should also note when a wrong version has been fetched. -->
    This page does not exist.  Why don't you go and
    <wiki:EditLink>create it?
  </wiki:NoSuchPage>
</div>
<wiki:HasAttachments>
  <div id="attachments">
    <h3>Attachments
    <div class="zebra-table">
      <table>
        <wiki:AttachmentsIterator id="att">
          <tr>
            <td> | 
            <td>
| ... 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.