|
Strona główna Zbieranina Serwisy Porady Projekty Humor sektora IT TODO Nowości Ostatnie zmiany Kontakt Find pages
Set your name in
UserPreferences Referenced by
JSPWiki v2.2.33
|
For example:
[{SET foo='bar'}]
creates you a variable called "foo", which has the value of "bar". You can access this value anywhere on your page by using the shorthand "[{$foo}]". JSPWiki also defines all kinds of other variables, and tags and plugins can also add their own variables. For example, see the Counter plugin. The following variable are preset by JSPWiki: applicationnameThis is the name of this Wiki. It has been set by the administrator in "jspwiki.properties". This Wiki is called wiki. baseurlThe base URL address for this wiki. encodingDescribes the character encoding used in this Wiki. An encoding of "UTF-8" means that the Wiki accepts any character, including Chinese, Japanese, etc. Encoding "ISO-8859-1" means that only western languages are supported. This wiki uses the UTF-8 encoding. inlinedimagesLets you know which image types are being inlined. interwikilinksWrites HTML code for supported InterWiki links. jspwikiversionInserts the version number of the JSPWiki engine. For example, this version is 2.2.33. loginstatusShows how the current user has logged in. For example, you are unknown (not logged in). uptimeInserts the amount of time since this Wiki has been last restarted. This wiki has been up for 56d, 20h 53m 42s. pagenameInserts the current page name. Example: This page is called WikiVariables. pageproviderThe current PageProvider. pageproviderdescriptionA verbose, HTML description about the currently used page provider. requestcontextThe current RequestContext. For example, this is the view context. totalpagesThe total number of pages available in this Wiki. usernameInserts the current user name: For example, you are now logged in as 38.103.63.58. Inserting JSPWiki propertiesYou can also access some of the JSPWiki properties (that have been defined by the site maintainer) by using their property names directly. See SystemInfo for an example. Note that some properties might not be accessible due to security reasons.
|
||||||
The variables are evaluated in the following order: