Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/sitemesh/RequestConstants.java


1   package com.sitemesh;
2   
3   /**
4    * This is a set of static constants of Strings to be used
5    * as ServletRequest attribute keys to represent various
6    * objects passed between pages.
7    *
8    * @author <a href="joe@truemesh.com">Joe Walnes</a>
9    * @version $Revision: 1.4 $
10   */
11  public interface RequestConstants {
12  
13    /**
14     * Marker that stores a Boolean to state whether the decorator filter
15     * has been applied yet in this request.
16     */
17    public static final String FILTER_APPLIED = "__sitemesh__filterapplied";
18  
19    /**
20     * Stores {@link com.sitemesh.Page} instance for parsed page to be
21     * passed across to {@link com.sitemesh.Decorator} .
22     */
23    public static final String PAGE           = "__sitemesh__page";
24  
25    /**
26     * The name (String) of the Decorator to suggest using. This is set by
27     * the {@link com.sitemesh.taglib.PanelTag} and is then used by
28     * the corresponding {@link com.sitemesh.DecoratorMapper} .
29     */
30    public static final String DECORATOR      = "__sitemesh__decorator";
31  
32  }