incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: capturing output of a plugin in a page variable
Date Tue, 03 Mar 2009 19:46:09 GMT
>
> What I want is:
>
> [{SET name='[{PageName}]'}]
> [{$name}]
>
> Unfortunately, all I get is 'PageName'.

Almost!

[{SET name='{$PageName}'}]
[{$name}]

The reason is that [ ] is a "special" sequence. Then there are many  
kinds of special sequences:

{$name} for variable
{plugin} for plugin
PageName for page names.

Granted, this is slightly illogical.

/Janne
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message