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]

CommentLinkTag


Creates a link that links to the comment editor for a WikiPage. It works the same way as EditLinkTag, but instead comments are appended to the end of the page.

Why would you use this instead of a standard anchor? The CommentLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, etc.


Usage

<wiki:CommentLink page="<page name>" format="anchor|url">
  Link text
</wiki:LinkTo>

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

<wiki:CommentLink>Add a comment to this page</wiki:CommentLink>



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