NYCJava.net Main Page

About NYCJava.net JUG

Java Study Groups:
Java Mobile
SCJP 6 (Programmer Cert.)
Design Patterns
SCEA 5 (Architect Cert.)
Java Enterprise Study Group


Sponsor of the Skylight1
open source project
Location Sponsor:
http://www.nycjava.net/JSPWiki/pace.jpg

A member SIG of
http://nypc.org

Sponsor of the
NYC Java Meetup
http://www.nycjava.net/JSPWiki/meetup.png

help support NYC Java:
http://cafepress.com/nycjava
http://www.nycjava.net/JSPWiki/mug.jpg http://www.nycjava.net/JSPWiki/tshirt.jpg

Special thanks to:
Sun Microsystems
Prentice Hall
O'Reilly
JetBrains
Apress
and NYPC!

Book Reviews
Articles
Java Links
Java Jobs
Humor
About Duke
System Info

Find pages
About this Wiki
Wiki Quick Start
WikiEtiquette
Set your name in
UserPreferences

Edit this page



[RSS]

Page Filters


Page Filters are a new addition in JSPWiki 2.2. They essentially allow you to pre- and postprocess the information that flies back and forth between the Wiki engine and the browser.

There are four possible places where the filters can be applied:

  1. pre-translate - that is, after the page has been fetched from the page repository, but before it has been translated from WikiMarkup to HTML.
  2. post-translate - after the page has been translated into HTML, but before it is shown to the user.
  3. pre-save - before the page is committed to the repository.
  4. post-save - after the page has been committed to the repository successfully. Note that at this point it is useless to change the page data anymore, so filters that hook to this event are typically general notification filters - such as sending email.

To see which filters are running on this instance of JSPWiki, use the [{$pagefilters}] WikiVariable to list them. See System Info for more information.


Filter documentation

JSPWiki ships with a few predefined filters:

To use these (or any other PageFilter contributed by the JSPWiki community), you have to also see


Developer documentation




Go to top   Edit this page   More info...   Attach file...
This page last changed on 23-Jul-2015 17:20:33 PDT by unknown.