incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: Invoking a plugin from a JSP
Date Sun, 16 Dec 2007 12:33:35 GMT
You can do something like this:


 <wiki:Translate>[{If page='{$username}Favorites' exists='true'

%%collapsebox-closed
! [My Favorites|{$username}Favorites]
[{InsertPage page='{$username}Favorites' }]
%% }]
 </wiki:Translate>


dirk

On Dec 16, 2007 1:30 PM, Murray Altheim <murray06@altheim.com> wrote:
> Hi,
>
> Perhaps a dumb question (i.e., one easily answered), but I can't
> find any documentation on the best way to invoke a plugin from
> within a JSP. I'd like to be able to do this for any plugin, but
> since the ones I have in mind are of my own authoring I could
> make an alternative constructor, etc. as needed (but the plugin
> should function identically whether it's invoked via wikitext or
> in a JSP (though I might wish to know programmatically which is
> the source).
>
> Any clues on this? Happy to do the digging and documentation if
> I can figure this out...
>
> Thanks!
>
> Murray
>
> ...........................................................................
> Murray Altheim <murray07 at altheim.com>                           ===  = =
> http://www.altheim.com/murray/                                     = =  ===
> SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =
>
>        Boundless wind and moon - the eye within eyes,
>        Inexhaustible heaven and earth - the light beyond light,
>        The willow dark, the flower bright - ten thousand houses,
>        Knock at any door - there's one who will respond.
>                                        -- The Blue Cliff Record
>

Mime
View raw message