You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Jochen Reutelshoefer <re...@informatik.uni-wuerzburg.de> on 2008/10/29 13:59:26 UTC
javascript: Wiki.Context
Hi,
I´m writting a jspwiki plugin (and filter).
My Problem is:
jspwiki-commons.js reports that Wiki.Context has no properties for
example when collapse-boxes are used.
I couldnt find out where or how this Context is set. Perhaps anyone can
tell me? Any ideas why it might have not been initialized correctly?
Thanks.
regards,
Jochen Reutelshoefer
Re: javascript: Wiki.Context
Posted by Dirk Frederickx <di...@gmail.com>.
Wiki.Context is set a initialisation time: Wiki.init()
It containt the wiki context: view, edit, info, etc. It's value is
read from this line in the commonheader.jsp
<meta name="wikiContext" content='<wiki:Variable var="requestcontext" />' />
dirk
On Wed, Oct 29, 2008 at 1:59 PM, Jochen Reutelshoefer
<re...@informatik.uni-wuerzburg.de> wrote:
> Hi,
>
> I´m writting a jspwiki plugin (and filter).
> My Problem is:
> jspwiki-commons.js reports that Wiki.Context has no properties for example
> when collapse-boxes are used.
>
> I couldnt find out where or how this Context is set. Perhaps anyone can tell
> me? Any ideas why it might have not been initialized correctly?
>
> Thanks.
>
> regards,
> Jochen Reutelshoefer
>