Final version of IfPlugin patch
Murray Altheim <[email protected]> Thu, 23 Aug 2007 16:13:42 +1200
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
[Sorry -- Janne, until we figure out why my attachments aren't getting
sent into the list thought I'd also drop this to you directly.]
Janne,
I thought better about this, and if the purpose of this modification
is to permit other plugins and code to access the decision-making
part of the plugin, then its parameters should be available as final
variables. I've modified it and the latest (and I assume final)
version is attached.
I'm currently creating a new plugin that merges this with the
InsertPage plugin to permit decisions on inserting pages to be made
by the IfPlugin's guts. This could be done by including an InsertPage
plugin in the wiki body of the IfPlugin, but the syntax for users
gets a bit more complicated, thought I'd simplify it.
The only other IfPlugin modification I can imagine would be to add a
'date' check feature to IfPlugin...
Cheers,
Murray
PS. patch named IfPlugin3.diff
...........................................................................
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