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
ParentPageNameTag




JSPWiki v2.2.33

[RSS]


Hide Menu

LinkToParentTag


Difference between current version and current version:

At line 1 added 21 lines.
Creates a link to the parent of a [WikiPage]. This is mainly intended to work with [WikiAttachments], that is, if the page you are referring to is an attachment, it will generate the correct link.
Why would you use this instead of a standard anchor? The LinkToTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, attachment links, etc.
----
!Usage
<wiki:LinkToParent page="<page name>" format="anchor|url">
;:''Link text''
</wiki:LinkToParent>
!Parameters
;__page__: Page name to link to. If not set, uses the current page.
;__format__: If "anchor", creates the full hyperlink (<a href="...">link text</a>); if "url", outputs only the URL.
!Example
{{{
The parent of this attachment is <wiki:LinkToParent><wiki:ParentPageName /></wiki:LinkToParent>.
}}}

Back to LinkToParentTag, or to the Page History.