incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <>
Subject Re: aliases?
Date Fri, 04 Jul 2008 06:24:47 GMT
>> Is it possible to write another plugin similar to InsertPage (call it
>> 'MacroPlugin') that inserts the contents of another page *before* any
>> contained plugins are invoked?
> It's *possible* but not easy -- you'd have to hook up the renderer to
> process the content recursively backward to the first inclusion. This
> would be outside the normal page processing, the plugin responsible
> basically for everything.

Actually, it is very easy.  Use a filter, e.g.

You can declare any sort of markup you want.  Works inside plugins  
and everything; you just have to hook it up to the preTranslate()  


View raw message