Creates a link to the upload page. See WikiAttachments.

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


Usage#

<wiki:UploadLink page="<page name>" format="anchor|url">

Link text
</wiki:UploadLink>

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:UploadLink>Upload a new attachment</wiki:UploadLink>.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2008 13:29 by UnknownAuthor