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.

Example#

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


See: JSPWikiTags


Category.Tags