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


Referenced by
JSPWikiTags




JSPWiki v2.2.33

[RSS]


Hide Menu

InsertPageTag


Difference between current version and current version:

At line 1 added 30 lines.
Inserts formatted or unformatted page contents.
----
!Usage
<wiki:InsertPage page="<page name>" mode="plain|html" />
!Parameters
;__page__: The name of the page to insert. If not set, inserts the current page.
;__mode__: If set to "plain", inserts the actual WikiMarkup (for example, for an editor). If "html", will insert rendered HTML snippet. Default is to insert HTML.
!Example
{{{
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<html>
<head>
<title><wiki:PageName /></title>
</head>
<body>
<h1><wiki:PageName /></h1>
<wiki:InsertPage />
<hr /><br />
<wiki:EditLink>Edit this page</wiki:EditLink>
</body>
</html>
}}}
This is an extraordinarily minimal [template|WikiTemplates] for JSPWiki, which basically just displays the page name in a h1-type heading, and then inserts the renderd page contents.

Back to InsertPageTag, or to the Page History.