Essentials:
   Overview
   Features
   Screenshots

Developers:
   Guidelines
   Syndication
   Notes
   XSLT
   Parameters
   More Info

Resources:
   Download
   Browse CVS
   Mailing Lists
   Bugzilla
   Javadoc

Reptile
(an OpenPrivacy project)

Parameters

Reptile needs a way to pass information from client application to the server and from the server to Xalan for XSLT processing. This is done via a set of named parameters.

Parameters can also be passed from rendered content to the server via HTML forms. These are passed to the XSL Transformer and are available to stylesheets. Note that if you choose to use parameters in your stylesheets try to namespace them. Don't use a parameter of "fetch". Instead use a parameter of "urn:myapplication/param/fetch" or some other namespaced param. This prevents other stylesheets which you did not write from being unintentionally tricked into doing something if two parameter names are identical.

Parameters available to stylesheets:

reptile.home.location:
The default URL for the ReptileServlet. This can be used within stylesheets when creating HTML forms.
reptile.current.location:
The URL currently requested/displayed for the ReptileServlet.
reptile.content.location:
If content is being transformed, this represents the location of said content.
reptile.sequence.name:
The current sequence name.

Parameters available to the server:

These can be used from your stylesheets trigger events on the server. These are usually passed via HTTP post/get operations.

reptile.action:
Invoke an Action in the org.apache.reptile.actions package.
reptile.action.next.sequence:
A sequence to use with a layer after an action is run. This uses an HTTP redirect to prevent a URL accidentally being refreshed with and inadvertently invoking an action.
reptile.action.next.layer:
A layer to use with a sequence after an action is run. This uses an HTTP redirect to prevent a URL accidentally being refreshed with and inadvertently invoking an action.

Java system properties:

reptile.system.initialized
Has a value of "true" if reptile has been fully initialized
reptile.system.restarted
Has a value of "true" if reptile has been restarted. This is set by the destroy() method in ReptileServlet.



  Reptile is the banner freeware project of the OpenPrivacy initiative