Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences

Edit this page


Referenced by
JSPWikiTags




JSPWiki v2.2.33

[RSS]


Hide Menu

HistoryIteratorTag


Iterates through the change history of the page.

The "current page" always becomes the particular version of the page currently in iteration.


Usage

HTML or JSP

Parameters

id
Name of the variable to create.

Example

<table>
    <wiki:HistoryIterator id="currentPage">
        <tr>
            <td>
                 <wiki:LinkTo version="<%=Integer.toString(currentPage.getVersion())%>">
                      <wiki:PageVersion/>
                 </wiki:LinkTo>
            </td>

            <td>
                 <wiki:PageDate/>
            </td>

            <td><wiki:Author /></td>
            <td><wiki:PageSize /></td>

            <wiki:PageType type="page">
                 <td>
                     <% if( currentPage.getVersion() > 1 ) { %>
                     <wiki:DiffLink version="<%=Integer.toString(currentPage.getVersion())%>" 
                                    newVersion="<%=Integer.toString(currentPage.getVersion()-1)%>">
                        from version <%=currentPage.getVersion()-1%> to <%=currentPage.getVersion()%>
                     </wiki:DiffLink>
                     <% } %>
                 </td>
             </wiki:PageType>
        </tr>
    </wiki:HistoryIterator>
</table>


Go to top   Edit this page   More info...   Attach file...
This page last changed on 06-Nov-2006 13:52:58 MST by unknown.