This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleUser defined global variables
Date22-Nov-2005 18:41:54 EET
JSPWiki version2.2.33
Submitter209.79.29.20
Idea CategoryGenericIdea
Reference
Idea StatusNewIdea

It would be nice for the wiki admin to be able to set up global variables. This could be either in the properties file, or in a page that is read prior to each page display.


You sort of can already. Any property that starts with "jspwiki." can be displayed on a wiki page. E.g. [{$jspwiki.pageProvider}] ==> VersioningFileProvider


You can't! When I define a variable jspwiki.somename and assign a value to it, I may read the value on the same page but on other pages this variable is simply not defined.

--m!, 24-Jan-2006

Yes, you can - you just need to define it in jspwiki.properties... That's why you need to be an admin.

-- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 25-Jan-2006 00:38 by Janne Jalkanen.