Anmeldung



- search -
Edit...

JSPWiki v2.2.28
 
Wichtiger Aufruf

Verhindert Artikel 13! Am Di., 27.3 um 12:30 findet die Abstimmung im EU-Parlament statt. Es droht die Einführung einer allgemeinen Zensurinfrastruktur.

Page Type Tag

Includes its contents, if the page type matches. JSPWiki handles attachments as a special type of a WikiPage. For example, page info is practically the same for both pages and attachments. Thus, sometimes you must be able to discern between these two types.

Usage

<wiki:PageType type="attachment|page">
HTML or JSP data
</wiki:PageType>

Parameters

type
Either "attachment", or "page". If "attachment", includes the body if the current page is an attachment; or if "page", includes the body if (and only if) the body is a standard WikiPage.

Example

    <wiki:PageType type="page">
       <wiki:LinkTo>Back to <wiki:PageName/></wiki:LinkTo>
    </wiki:PageType>
    <wiki:PageType type="attachment">
       <form action="attach" method="POST" enctype="multipart/form-data">
           <%-- Do NOT change the order of wikiname and content, otherwise the 
                servlet won't find its parts. --%>
           <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>">
           In order to update this attachment with a newer version, find the
           file using "Browse", then click on "Update".
           <P>
           <input type="file" name="content">
           <input type="submit" name="upload" value="Update">
           <input type="hidden" name="action" value="upload">
           <input type="hidden" name="nextpage" value="<wiki:PageInfoLink format="url"/>">
           </form>

    </wiki:PageType>
If the current page is a standard WikiPage, displays just a link back to the page. However, if it is an attachment, will insert a possibility to update the attachment.




letzte Änderung 21-Mai-2007 21:11:30 MESZ von unknown.



Earthdawn (R) ist ein eingetragenes Warenzeichen der FASA Corporation. Barsaive (TM) ist ein Warenzeichen der FASA Corporation. Copyright (c) 2015 by FASA Corporation. Copyright der deutschen Ausgabe (c) 2015 by Ulisses Spiele GmbH, Waldems. www.ulisses-spiele.de. Diese Webseite unterliegt keiner Abnahme oder Genehmigung durch Ulisses Spiele oder FASA.