JSPWiki logo
Main page
About
News
Recent Changes
WikiEtiquette

Find pages
Unused pages
Undefined pages
Page Index

Set your name in
UserPreferences

Edit this page


Referenced by
JSPWikiTags




JSPWiki v2.2.14-beta


[RSS]

CheckVersionTag


Does a version check on the page. If the page does not exist, the body is never included.

Usage

<wiki:CheckVersion mode="latest|notlatest">

JSP or HTML code
</wiki:CheckVersion>

Parameters

mode
If 'latest', will include the body if the current page is the latest version. If 'notlatest', will include the body only if the current page is not the latest version. If "first", includes the body if and only if the current page is the first revision, and if it's "notfirst", includes only if it's not the first version.

Example

<wiki:CheckVersion mode="notlatest">
    <B>Warning: This page is not the latest version.</B>
</wiki:CheckVersion>



Go to top   Edit this page   More info...   Attach file...
This page last changed on 26-Mar-2006 00:48:48 EET by unknown.