Anmeldung



- search -
Edit...

JSPWiki v2.2.28
 
Check Request Context Tag

Allows you to determine which JSP page originally got the request. It is very useful to know this when you are including specific information on a page. Available contexts are:
  • "view" - Wiki.jsp
  • "edit" - Edit.jsp
  • "diff" - Diff.jsp
  • "info" - PageInfo.jsp
  • "preview" - Preview.jsp
  • "conflict" - PageModified.jsp
  • "upload" - Upload.jsp
  • "error" - Error.jsp
  • "find" - Search.jsp
  • "prefs" - UserPreferences.jsp

Usage

<wiki:CheckRequestContext context="view|edit|diff...">
HTML or JSP
</wiki:CheckRequestContext>

Parameters

context
Context to check. If the context matches, includes the body.

Example

This example comes from ViewTemplate.jsp:
      <wiki:CheckRequestContext context="view">
         <wiki:Include page="PageContent.jsp" />
      </wiki:CheckRequestContext>
      <wiki:CheckRequestContext context="diff">
         <wiki:Include page="DiffContent.jsp" />
      </wiki:CheckRequestContext>
      <wiki:CheckRequestContext context="info">
         <wiki:Include page="InfoContent.jsp" />
      </wiki:CheckRequestContext>
      <wiki:CheckRequestContext context="preview">
         <wiki:Include page="PreviewContent.jsp" />
      </wiki:CheckRequestContext>
      <wiki:CheckRequestContext context="conflict">
         <wiki:Include page="ConflictContent.jsp" />
      </wiki:CheckRequestContext>
      <wiki:CheckRequestContext context="find">
         <wiki:Include page="FindContent.jsp" />
      </wiki:CheckRequestContext>




letzte Änderung 21-Mai-2007 21:11:28 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.