You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/09/26 21:18:22 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

epugh       2003/09/26 12:18:22

  Modified:    src/java/org/apache/turbine TurbineConstants.java
  Log:
  Missing constants from last commit.  Needed for bubbleexceptions in ActionEvents...
  
  Revision  Changes    Path
  1.27      +211 -205  jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java
  
  Index: TurbineConstants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- TurbineConstants.java	3 Sep 2003 09:14:39 -0000	1.26
  +++ TurbineConstants.java	26 Sep 2003 19:18:22 -0000	1.27
  @@ -65,295 +65,301 @@
    */
   public interface TurbineConstants
   {
  -    /**
  -     * <p>The prefix used to denote the namespace reserved for and
  -     * used by Turbine-specific configuration parameters (such as
  -     * those passed in via servlet container's config file
  -     * (<code>server.xml</code>), or the web app deployment descriptor
  -     * (<code>web.xml</code>).</p>
  -     *
  -     * <p>For example, a parameter in the Turbine namespace would be
  -     * <code>org.apache.turbine.loggingRoot</code>.</p>
  -     */
  -    String CONFIG_NAMESPACE = "org.apache.turbine";
  +	/**
  +	 * <p>The prefix used to denote the namespace reserved for and
  +	 * used by Turbine-specific configuration parameters (such as
  +	 * those passed in via servlet container's config file
  +	 * (<code>server.xml</code>), or the web app deployment descriptor
  +	 * (<code>web.xml</code>).</p>
  +	 *
  +	 * <p>For example, a parameter in the Turbine namespace would be
  +	 * <code>org.apache.turbine.loggingRoot</code>.</p>
  +	 */
  +	String CONFIG_NAMESPACE = "org.apache.turbine";
   
  -    /** The key for the Log4J File */
  -    String LOG4J_CONFIG_FILE = "log4j.file";
  +	/** The key for the Log4J File */
  +	String LOG4J_CONFIG_FILE = "log4j.file";
   
  -    /** The default value for the Log4J File */
  -    String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
  +	/** The default value for the Log4J File */
  +	String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
   
  -    /** This is the default log file to be used for logging */
  -    String DEFAULT_LOGGER = "turbine";
  +	/** This is the default log file to be used for logging */
  +	String DEFAULT_LOGGER = "turbine";
   
  -    /** The logging facility which captures output from the SchedulerService. */
  -    String SCHEDULER_LOG_FACILITY = "scheduler";
  +	/** The logging facility which captures output from the SchedulerService. */
  +	String SCHEDULER_LOG_FACILITY = "scheduler";
   
  -    /** The SMTP server Turbine uses to send mail. */
  -    String MAIL_SERVER_KEY = "mail.server";
  +	/** The SMTP server Turbine uses to send mail. */
  +	String MAIL_SERVER_KEY = "mail.server";
   
  -    /** Default Value for he SMTP server that Turbine uses to send mail. */
  -    String MAIL_SERVER_DEFAULT = "localhost";
  +	/** Default Value for he SMTP server that Turbine uses to send mail. */
  +	String MAIL_SERVER_DEFAULT = "localhost";
   
  -    /** The Smtp sender address property */
  -    String MAIL_SMTP_FROM = "mail.smtp.from";
  +	/** The Smtp sender address property */
  +	String MAIL_SMTP_FROM = "mail.smtp.from";
   
  -    /** Property that controls whether Turbine modules are cached or not. */
  -    String MODULE_CACHE_KEY = "module.cache";
  +	/** Property that controls whether Turbine modules are cached or not. */
  +	String MODULE_CACHE_KEY = "module.cache";
   
  -    /** Default value of the Turbine Module Caching */
  -    boolean MODULE_CACHE_DEFAULT = true;
  +	/** Default value of the Turbine Module Caching */
  +	boolean MODULE_CACHE_DEFAULT = true;
   
  -    /** Property for the size of the action cache if caching is on */
  -    String ACTION_CACHE_SIZE_KEY = "action.cache.size";
  +	/** Property for the size of the action cache if caching is on */
  +	String ACTION_CACHE_SIZE_KEY = "action.cache.size";
   
  -    /** The default size for the action cache */
  -    int ACTION_CACHE_SIZE_DEFAULT = 20;
  +	/** The default size for the action cache */
  +	int ACTION_CACHE_SIZE_DEFAULT = 20;
   
  -    /** Property for the size of the layout cache if caching is on */
  -    String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
  +	/** Property for the size of the layout cache if caching is on */
  +	String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
   
  -    /** The default size for the layout cache */
  -    int LAYOUT_CACHE_SIZE_DEFAULT = 10;
  +	/** The default size for the layout cache */
  +	int LAYOUT_CACHE_SIZE_DEFAULT = 10;
   
  -    /** Property for the size of the navigation cache if caching is on */
  -    String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
  +	/** Property for the size of the navigation cache if caching is on */
  +	String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
   
  -    /** The default size for the navigation cache */
  -    int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
  +	/** The default size for the navigation cache */
  +	int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
   
  -    /** Property for the size of the page cache if caching is on */
  -    String PAGE_CACHE_SIZE_KEY = "page.cache.size";
  +	/** Property for the size of the page cache if caching is on */
  +	String PAGE_CACHE_SIZE_KEY = "page.cache.size";
   
  -    /** The default size for the page cache */
  -    int PAGE_CACHE_SIZE_DEFAULT = 5;
  +	/** The default size for the page cache */
  +	int PAGE_CACHE_SIZE_DEFAULT = 5;
   
  -    /** Property for the size of the screen cache if caching is on */
  -    String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
  +	/** Property for the size of the screen cache if caching is on */
  +	String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
   
  -    /** The default size for the screen cache */
  -    int SCREEN_CACHE_SIZE_DEFAULT = 50;
  +	/** The default size for the screen cache */
  +	int SCREEN_CACHE_SIZE_DEFAULT = 50;
   
  -    /** The key for the schedulder job cache size if module caching is on. */
  -    String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
  +	/** The key for the schedulder job cache size if module caching is on. */
  +	String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
   
  -    /** The default size of the schedulder job cache if module caching is on. */
  -    int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
  +	/** The default size of the schedulder job cache if module caching is on. */
  +	int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
   
  -    /** The packages where Turbine will look for modules. */
  -    String MODULE_PACKAGES = "module.packages";
  +	/** The packages where Turbine will look for modules. */
  +	String MODULE_PACKAGES = "module.packages";
   
  -    /** Home page template. */
  -    String TEMPLATE_HOMEPAGE = "template.homepage";
  +	/** Home page template. */
  +	String TEMPLATE_HOMEPAGE = "template.homepage";
   
  -    /** Login template. */
  -    String TEMPLATE_LOGIN = "template.login";
  +	/** Login template. */
  +	String TEMPLATE_LOGIN = "template.login";
   
  -    /** Template error template Property. */
  -    String TEMPLATE_ERROR_KEY = "template.error";
  +	/** Template error template Property. */
  +	String TEMPLATE_ERROR_KEY = "template.error";
   
  -    /** Template error default for JSP */
  -    String TEMPLATE_ERROR_JSP = "error.jsp";
  +	/** Template error default for JSP */
  +	String TEMPLATE_ERROR_JSP = "error.jsp";
   
  -    /** Template error default for Velocity */
  -    String TEMPLATE_ERROR_VM = "error.vm";
  +	/** Template error default for Velocity */
  +	String TEMPLATE_ERROR_VM = "error.vm";
   
  -    /** Home page screen. */
  -    String SCREEN_HOMEPAGE = "screen.homepage";
  +	/** Home page screen. */
  +	String SCREEN_HOMEPAGE = "screen.homepage";
   
  -    /** Login screen. */
  -    String SCREEN_LOGIN = "screen.login";
  +	/** Login screen. */
  +	String SCREEN_LOGIN = "screen.login";
   
  -    /** Login error screen. */
  -    String SCREEN_ERROR_KEY = "screen.error";
  +	/** Login error screen. */
  +	String SCREEN_ERROR_KEY = "screen.error";
   
  -    /** Default value for Login Screen */
  -    String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
  +	/** Default value for Login Screen */
  +	String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
   
  -    /** Report Screen for invalid state in the application*/
  -    String SCREEN_INVALID_STATE = "screen.invalidstate";
  +	/** Report Screen for invalid state in the application*/
  +	String SCREEN_INVALID_STATE = "screen.invalidstate";
   
  -    /** Report Template for invalid state in the application */
  -    String TEMPLATE_INVALID_STATE = "template.invalidstate";
  +	/** Report Template for invalid state in the application */
  +	String TEMPLATE_INVALID_STATE = "template.invalidstate";
   
  -    /** Action to perform when a user logs in. */
  -    String ACTION_LOGIN_KEY = "action.login";
  +	/** Action to perform when a user logs in. */
  +	String ACTION_LOGIN_KEY = "action.login";
   
  -    /** Default Value for login Action */
  -    String ACTION_LOGIN_DEFAULT = "LoginUser";
  +	/** Default Value for login Action */
  +	String ACTION_LOGIN_DEFAULT = "LoginUser";
   
  -    /** Action to perform when a user logs out. */
  -    String ACTION_LOGOUT_KEY = "action.logout";
  +	/** Action to perform when a user logs out. */
  +	String ACTION_LOGOUT_KEY = "action.logout";
   
  -    /** Default Value for ACTION_LOGOUT */
  -    String ACTION_LOGOUT_DEFAULT = "LogoutUser";
  +	/** Default Value for ACTION_LOGOUT */
  +	String ACTION_LOGOUT_DEFAULT = "LogoutUser";
   
  -    /** Actions that performs session validation. */
  -    String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
  +	/** Actions that performs session validation. */
  +	String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
   
  -    /** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
  -    String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
  +	/** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
  +	String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
   
  -    /** Action that performs Access control */
  -    String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
  +	/** Action that performs Access control */
  +	String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
   
  -    /** Default value for the access controller. (org.apache.modules.actions.AccessController) */
  -    String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
  +	/** Default value for the access controller. (org.apache.modules.actions.AccessController) */
  +	String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
   
  -    /** Select whether an Action Event must have a non-zero value */
  -    String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
  +	/** Select whether an Action Event must have a non-zero value */
  +	String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
   
  -    /** Default value for action.eventsubmit.needsvalue */
  -    boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
  +	/** Default value for action.eventsubmit.needsvalue */
  +	boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
   
  -    /** Default layout. */
  -    String LAYOUT_DEFAULT = "layout.default";
  +	/** Select whether an exception in an Action method is bubbled up to Turbine.handleException() */
  +	String ACTION_EVENT_BUBBLE_EXCEPTION_UP = "action.event.bubbleexception";
   
  -    /** Default page. */
  -    String PAGE_DEFAULT_KEY = "page.default";
  +	/** Default value for action.event.bubbleexception */
  +	boolean ACTION_EVENT_BUBBLE_EXCEPTION_UP_DEFAULT = true;
   
  -    /** Default value for the Default Page */
  -    String PAGE_DEFAULT_DEFAULT = "DefaultPage";
  +	/** Default layout. */
  +	String LAYOUT_DEFAULT = "layout.default";
   
  -    /** Default value for the Default Screen */
  -    String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
  +	/** Default page. */
  +	String PAGE_DEFAULT_KEY = "page.default";
   
  -    /** Message to display upon successful login. */
  -    String LOGIN_MESSAGE = "login.message";
  +	/** Default value for the Default Page */
  +	String PAGE_DEFAULT_DEFAULT = "DefaultPage";
   
  -    /** Message to display when a user fails to login. */
  -    String LOGIN_ERROR = "login.error";
  +	/** Default value for the Default Screen */
  +	String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
   
  -    /** Message to display when screens variable invalid. */
  -    String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
  +	/** Message to display upon successful login. */
  +	String LOGIN_MESSAGE = "login.message";
   
  -    /** Message to display when a user logs out. */
  -    String LOGOUT_MESSAGE = "logout.message";
  +	/** Message to display when a user fails to login. */
  +	String LOGIN_ERROR = "login.error";
   
  -    /** Session Timeout */
  -    String SESSION_TIMEOUT_KEY = "session.timeout";
  +	/** Message to display when screens variable invalid. */
  +	String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
   
  -    /** Session Timeout Default Value */
  -    int SESSION_TIMEOUT_DEFAULT = -1;
  +	/** Message to display when a user logs out. */
  +	String LOGOUT_MESSAGE = "logout.message";
   
  -    /** Indicate whether this Turbine application is using SSL. */
  -    String USE_SSL_KEY = "use.ssl";
  +	/** Session Timeout */
  +	String SESSION_TIMEOUT_KEY = "session.timeout";
   
  -    /** Default value for the SSL key */
  -    boolean USE_SSL_DEFAULT = true;
  +	/** Session Timeout Default Value */
  +	int SESSION_TIMEOUT_DEFAULT = -1;
   
  -    /**
  -     * Should the PP fold the case of everything. Possible values are
  -     * "upper", "lower" and "none".
  -     */
  -    String PP_URL_CASE_FOLDING = "url.case.folding";
  +	/** Indicate whether this Turbine application is using SSL. */
  +	String USE_SSL_KEY = "use.ssl";
   
  -    /** Default document type. */
  -    String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
  +	/** Default value for the SSL key */
  +	boolean USE_SSL_DEFAULT = true;
   
  -    /** Html 4.0 Transitional */
  -    String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
  -    /** Html 4.0 Strict */
  -    String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
  -    /** Html 4.0 Frameset */
  -    String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
  +	/**
  +	 * Should the PP fold the case of everything. Possible values are
  +	 * "upper", "lower" and "none".
  +	 */
  +	String PP_URL_CASE_FOLDING = "url.case.folding";
   
  -    /** Default doctype root element. */
  -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
  -            = "default.html.doctype.root.element";
  +	/** Default document type. */
  +	String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
   
  -    /** Default value for the doctype root element */
  -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
  -            = "HTML";
  +	/** Html 4.0 Transitional */
  +	String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
  +	/** Html 4.0 Strict */
  +	String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
  +	/** Html 4.0 Frameset */
  +	String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
   
  -    /** Default doctype dtd. */
  -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
  -            = "default.html.doctype.identifier";
  +	/** Default doctype root element. */
  +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
  +			= "default.html.doctype.root.element";
   
  -    /** Default Doctype dtd value */
  -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
  -            = "-//W3C//DTD HTML 4.01 Transitional//EN";
  +	/** Default value for the doctype root element */
  +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
  +			= "HTML";
   
  -    /** Default doctype url. */
  -    String DEFAULT_HTML_DOCTYPE_URI_KEY 
  -            = "default.html.doctype.url";
  +	/** Default doctype dtd. */
  +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
  +			= "default.html.doctype.identifier";
   
  -    /** Default doctype url value. */
  -    String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
  -            = "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
  +	/** Default Doctype dtd value */
  +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
  +			= "-//W3C//DTD HTML 4.01 Transitional//EN";
   
  -    /** Default Language property */
  -    String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
  +	/** Default doctype url. */
  +	String DEFAULT_HTML_DOCTYPE_URI_KEY 
  +			= "default.html.doctype.url";
   
  -    /** Default value for Language property */
  -    String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
  +	/** Default doctype url value. */
  +	String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
  +			= "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
   
  -    /** Default Country property */
  -    String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
  +	/** Default Language property */
  +	String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
   
  -    /** Default value for Country property */
  -    String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
  +	/** Default value for Language property */
  +	String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
   
  -    /** Default Charset property */
  -    String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
  +	/** Default Country property */
  +	String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
   
  -    /** Default value for Charset property */
  -    String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
  +	/** Default value for Country property */
  +	String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
   
  -    /** If this value is set as applicationRoot, then the webContext is used
  -     * as application root
  -     */
  -    String WEB_CONTEXT = "webContext";
  +	/** Default Charset property */
  +	String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
   
  -    /** Key for the Path to the TurbineResources.properties File */
  -    String APPLICATION_ROOT_KEY = "applicationRoot";
  +	/** Default value for Charset property */
  +	String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
   
  -    /** Default Value for the Path to the TurbineResources.properties File */
  -    String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
  +	/** If this value is set as applicationRoot, then the webContext is used
  +	 * as application root
  +	 */
  +	String WEB_CONTEXT = "webContext";
   
  -    /** This is the key used in the Turbine.properties to access resources
  -     * relative to the Web Application root. It might differ from the
  -     * Application root, but the normal case is, that the webapp root
  -     * and the application root point to the same path.
  -     */
  -    String WEBAPP_ROOT_KEY = "webappRoot";
  +	/** Key for the Path to the TurbineResources.properties File */
  +	String APPLICATION_ROOT_KEY = "applicationRoot";
   
  -    /** The Key in the deployment descriptor for the Logging Directory */
  -    String LOGGING_ROOT_KEY = "loggingRoot";
  +	/** Default Value for the Path to the TurbineResources.properties File */
  +	String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
   
  -    /** Default Value for the Logging Directory, relative to the webroot */
  -    String LOGGING_ROOT_DEFAULT = "/logs";
  +	/** This is the key used in the Turbine.properties to access resources
  +	 * relative to the Web Application root. It might differ from the
  +	 * Application root, but the normal case is, that the webapp root
  +	 * and the application root point to the same path.
  +	 */
  +	String WEBAPP_ROOT_KEY = "webappRoot";
   
  -    /** Key for loading the UUID Generator with a constant value */
  -    String UUID_ADDRESS_KEY = "uuid.address";
  +	/** The Key in the deployment descriptor for the Logging Directory */
  +	String LOGGING_ROOT_KEY = "loggingRoot";
   
  -    /** Context Key for the screen placeholder in the various velocity layouts */
  -    String SCREEN_PLACEHOLDER = "screen_placeholder";
  +	/** Default Value for the Logging Directory, relative to the webroot */
  +	String LOGGING_ROOT_DEFAULT = "/logs";
   
  -    /** Context Key for the navigation object placeholder in the various velocity layouts */
  -    String NAVIGATION_PLACEHOLDER = "navigation";
  +	/** Key for loading the UUID Generator with a constant value */
  +	String UUID_ADDRESS_KEY = "uuid.address";
   
  -    /** Context Key for the Processing Exception */
  -    String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
  +	/** Context Key for the screen placeholder in the various velocity layouts */
  +	String SCREEN_PLACEHOLDER = "screen_placeholder";
   
  -    /** Context Key for the Stack Trace */
  -    String STACK_TRACE_PLACEHOLDER = "stackTrace";
  +	/** Context Key for the navigation object placeholder in the various velocity layouts */
  +	String NAVIGATION_PLACEHOLDER = "navigation";
   
  -    /** Prefix for layout related classes and templates */
  -    String LAYOUT_PREFIX = "layouts";
  +	/** Context Key for the Processing Exception */
  +	String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
   
  -    /** Prefix for screen related classes and templates */
  -    String SCREEN_PREFIX = "screens";
  +	/** Context Key for the Stack Trace */
  +	String STACK_TRACE_PLACEHOLDER = "stackTrace";
   
  -    /** Prefix for navigation related classes and templates */
  -    String NAVIGATION_PREFIX = "navigations";
  +	/** Prefix for layout related classes and templates */
  +	String LAYOUT_PREFIX = "layouts";
   
  -    /** Prefix for action related classes and templates */
  -    String ACTION_PREFIX = "actions";
  +	/** Prefix for screen related classes and templates */
  +	String SCREEN_PREFIX = "screens";
   
  -    /** Prefix for page related classes and templates */
  -    String PAGE_PREFIX = "pages";
  +	/** Prefix for navigation related classes and templates */
  +	String NAVIGATION_PREFIX = "navigations";
   
  -    /** Prefix for scheduler job related classes */
  -    String SCHEDULEDJOB_PREFIX = "scheduledjobs";
  +	/** Prefix for action related classes and templates */
  +	String ACTION_PREFIX = "actions";
  +
  +	/** Prefix for page related classes and templates */
  +	String PAGE_PREFIX = "pages";
  +
  +	/** Prefix for scheduler job related classes */
  +	String SCHEDULEDJOB_PREFIX = "scheduledjobs";
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: SystemPropertiesService Proposal

Posted by Eric Pugh <ep...@upstate.com>.
I don't really need the functionality now, and have some other changes for
Commons-config to work on, but if it comes up, I'll look into it as well..

Eric

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: Monday, September 29, 2003 8:33 AM
> To: Turbine Developers List
> Subject: Re: SystemPropertiesService Proposal
>
>
> Eric Pugh wrote:
>
> >I was looking through your SystemPropertiesService, and
> something that
> >struck me is that this is the type of code that maybe should go in
> >Commons-Configuration..  I can imagine that there are
> various toolsets that
> >want to read from system.properties..  What do you think of
> taking the core
> >code and making it some sort of class to go in commons-configuration.
> >
> >Then, instead of making yet another "to be deprecated"
> turbine service, wrap
> >it up in an avalon component (still in CC) and that can then
> be used in
> >turbine land as well as elsewhere...
> >
> Sounds good, but I don't have time to look into it just now.
> Fee free
> if you have time.
>
> My UIService proposal is somewhat similar in that it should really be
> provided as an Avalon component in the first instance.  I
> have not done
> this myself as there are a few dependency issues that I do
> not have time
> to deal with right now.
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: SystemPropertiesService Proposal

Posted by Eric Pugh <ep...@upstate.com>.
I don't really need the functionality now, and have some other changes for
Commons-config to work on, but if it comes up, I'll look into it as well..

Eric

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: Monday, September 29, 2003 8:33 AM
> To: Turbine Developers List
> Subject: Re: SystemPropertiesService Proposal
>
>
> Eric Pugh wrote:
>
> >I was looking through your SystemPropertiesService, and
> something that
> >struck me is that this is the type of code that maybe should go in
> >Commons-Configuration..  I can imagine that there are
> various toolsets that
> >want to read from system.properties..  What do you think of
> taking the core
> >code and making it some sort of class to go in commons-configuration.
> >
> >Then, instead of making yet another "to be deprecated"
> turbine service, wrap
> >it up in an avalon component (still in CC) and that can then
> be used in
> >turbine land as well as elsewhere...
> >
> Sounds good, but I don't have time to look into it just now.
> Fee free
> if you have time.
>
> My UIService proposal is somewhat similar in that it should really be
> provided as an Avalon component in the first instance.  I
> have not done
> this myself as there are a few dependency issues that I do
> not have time
> to deal with right now.
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: SystemPropertiesService Proposal

Posted by Scott Eade <se...@backstagetech.com.au>.
Eric Pugh wrote:

>I was looking through your SystemPropertiesService, and something that
>struck me is that this is the type of code that maybe should go in
>Commons-Configuration..  I can imagine that there are various toolsets that
>want to read from system.properties..  What do you think of taking the core
>code and making it some sort of class to go in commons-configuration.
>
>Then, instead of making yet another "to be deprecated" turbine service, wrap
>it up in an avalon component (still in CC) and that can then be used in
>turbine land as well as elsewhere...
>
Sounds good, but I don't have time to look into it just now.  Fee free 
if you have time.

My UIService proposal is somewhat similar in that it should really be 
provided as an Avalon component in the first instance.  I have not done 
this myself as there are a few dependency issues that I do not have time 
to deal with right now.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





Re: SystemPropertiesService Proposal

Posted by Scott Eade <se...@backstagetech.com.au>.
Eric Pugh wrote:

>I was looking through your SystemPropertiesService, and something that
>struck me is that this is the type of code that maybe should go in
>Commons-Configuration..  I can imagine that there are various toolsets that
>want to read from system.properties..  What do you think of taking the core
>code and making it some sort of class to go in commons-configuration.
>
>Then, instead of making yet another "to be deprecated" turbine service, wrap
>it up in an avalon component (still in CC) and that can then be used in
>turbine land as well as elsewhere...
>
Sounds good, but I don't have time to look into it just now.  Fee free 
if you have time.

My UIService proposal is somewhat similar in that it should really be 
provided as an Avalon component in the first instance.  I have not done 
this myself as there are a few dependency issues that I do not have time 
to deal with right now.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


SystemPropertiesService Proposal

Posted by Eric Pugh <ep...@upstate.com>.
Scott,

I was looking through your SystemPropertiesService, and something that
struck me is that this is the type of code that maybe should go in
Commons-Configuration..  I can imagine that there are various toolsets that
want to read from system.properties..  What do you think of taking the core
code and making it some sort of class to go in commons-configuration.

Then, instead of making yet another "to be deprecated" turbine service, wrap
it up in an avalon component (still in CC) and that can then be used in
turbine land as well as elsewhere...

Eric Pugh


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


SystemPropertiesService Proposal

Posted by Eric Pugh <ep...@upstate.com>.
Scott,

I was looking through your SystemPropertiesService, and something that
struck me is that this is the type of code that maybe should go in
Commons-Configuration..  I can imagine that there are various toolsets that
want to read from system.properties..  What do you think of taking the core
code and making it some sort of class to go in commons-configuration.

Then, instead of making yet another "to be deprecated" turbine service, wrap
it up in an avalon component (still in CC) and that can then be used in
turbine land as well as elsewhere...

Eric Pugh


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by "Daniel L. Rall" <dl...@finemaltcoding.com>.
Eric Pugh wrote:
> This I think affects a lot of the constants..  

Yeah, bleh.

> Is this the kind of thing
> that requires deprecation, or can I just change them?  It seems like only
> turbine would use these..

To remain binary compatible, deprecation is a must.


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by "Daniel L. Rall" <dl...@finemaltcoding.com>.
Eric Pugh wrote:
> This I think affects a lot of the constants..  

Yeah, bleh.

> Is this the kind of thing
> that requires deprecation, or can I just change them?  It seems like only
> turbine would use these..

To remain binary compatible, deprecation is a must.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by Eric Pugh <ep...@upstate.com>.
This I think affects a lot of the constants..  Is this the kind of thing
that requires deprecation, or can I just change them?  It seems like only
turbine would use these..
Eric

> -----Original Message-----
> From: Daniel L. Rall [mailto:dlr@finemaltcoding.com]
> Sent: Friday, September 26, 2003 10:06 PM
> To: Turbine Developers List
> Subject: Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine
> TurbineConstants.java
>
>
> Eric, does this commit introduce tabs, or is that just my new
> email client?
>
> Also, I'd prefer that the placement of the word "default" in
> these constant
> names be consistent (either at the beginning or end, not a
> mix).  I see both
> DEFAULT_LOGGER and SCREEN_CACHE_SIZE_DEFAULT -- I recommend
> deprecating some
> of the old names in favor of a consistent style.
>
>
> epugh@apache.org wrote:
> > epugh       2003/09/26 12:18:22
> >
> >   Modified:    src/java/org/apache/turbine TurbineConstants.java
> >   Log:
> >   Missing constants from last commit.  Needed for
> bubbleexceptions in ActionEvents...
> >
> >   Revision  Changes    Path
> >   1.27      +211 -205
> jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java
> >
> >   Index: TurbineConstants.java
> >
> ===================================================================
> >   RCS file:
> /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/Turbin
> eConstants.java,v
> >   retrieving revision 1.26
> >   retrieving revision 1.27
> >   diff -u -r1.26 -r1.27
> >   --- TurbineConstants.java	3 Sep 2003 09:14:39 -0000	1.26
> >   +++ TurbineConstants.java	26 Sep 2003 19:18:22 -0000	1.27
> >   @@ -65,295 +65,301 @@
> >     */
> >    public interface TurbineConstants
> >    {
> >   -    /**
> >   -     * <p>The prefix used to denote the namespace
> reserved for and
> >   -     * used by Turbine-specific configuration parameters (such as
> >   -     * those passed in via servlet container's config file
> >   -     * (<code>server.xml</code>), or the web app
> deployment descriptor
> >   -     * (<code>web.xml</code>).</p>
> >   -     *
> >   -     * <p>For example, a parameter in the Turbine
> namespace would be
> >   -     * <code>org.apache.turbine.loggingRoot</code>.</p>
> >   -     */
> >   -    String CONFIG_NAMESPACE = "org.apache.turbine";
> >   +	/**
> >   +	 * <p>The prefix used to denote the namespace reserved for and
> >   +	 * used by Turbine-specific configuration parameters (such as
> >   +	 * those passed in via servlet container's config file
> >   +	 * (<code>server.xml</code>), or the web app deployment
> descriptor
> >   +	 * (<code>web.xml</code>).</p>
> >   +	 *
> >   +	 * <p>For example, a parameter in the Turbine namespace would be
> >   +	 * <code>org.apache.turbine.loggingRoot</code>.</p>
> >   +	 */
> >   +	String CONFIG_NAMESPACE = "org.apache.turbine";
> >
> >   -    /** The key for the Log4J File */
> >   -    String LOG4J_CONFIG_FILE = "log4j.file";
> >   +	/** The key for the Log4J File */
> >   +	String LOG4J_CONFIG_FILE = "log4j.file";
> >
> >   -    /** The default value for the Log4J File */
> >   -    String LOG4J_CONFIG_FILE_DEFAULT =
> "/WEB-INF/conf/Log4j.properties";
> >   +	/** The default value for the Log4J File */
> >   +	String LOG4J_CONFIG_FILE_DEFAULT =
> "/WEB-INF/conf/Log4j.properties";
> >
> >   -    /** This is the default log file to be used for logging */
> >   -    String DEFAULT_LOGGER = "turbine";
> >   +	/** This is the default log file to be used for logging */
> >   +	String DEFAULT_LOGGER = "turbine";
> >
> >   -    /** The logging facility which captures output from
> the SchedulerService. */
> >   -    String SCHEDULER_LOG_FACILITY = "scheduler";
> >   +	/** The logging facility which captures output from the
> SchedulerService. */
> >   +	String SCHEDULER_LOG_FACILITY = "scheduler";
> >
> >   -    /** The SMTP server Turbine uses to send mail. */
> >   -    String MAIL_SERVER_KEY = "mail.server";
> >   +	/** The SMTP server Turbine uses to send mail. */
> >   +	String MAIL_SERVER_KEY = "mail.server";
> >
> >   -    /** Default Value for he SMTP server that Turbine
> uses to send mail. */
> >   -    String MAIL_SERVER_DEFAULT = "localhost";
> >   +	/** Default Value for he SMTP server that Turbine uses
> to send mail. */
> >   +	String MAIL_SERVER_DEFAULT = "localhost";
> >
> >   -    /** The Smtp sender address property */
> >   -    String MAIL_SMTP_FROM = "mail.smtp.from";
> >   +	/** The Smtp sender address property */
> >   +	String MAIL_SMTP_FROM = "mail.smtp.from";
> >
> >   -    /** Property that controls whether Turbine modules
> are cached or not. */
> >   -    String MODULE_CACHE_KEY = "module.cache";
> >   +	/** Property that controls whether Turbine modules are
> cached or not. */
> >   +	String MODULE_CACHE_KEY = "module.cache";
> >
> >   -    /** Default value of the Turbine Module Caching */
> >   -    boolean MODULE_CACHE_DEFAULT = true;
> >   +	/** Default value of the Turbine Module Caching */
> >   +	boolean MODULE_CACHE_DEFAULT = true;
> >
> >   -    /** Property for the size of the action cache if
> caching is on */
> >   -    String ACTION_CACHE_SIZE_KEY = "action.cache.size";
> >   +	/** Property for the size of the action cache if
> caching is on */
> >   +	String ACTION_CACHE_SIZE_KEY = "action.cache.size";
> >
> >   -    /** The default size for the action cache */
> >   -    int ACTION_CACHE_SIZE_DEFAULT = 20;
> >   +	/** The default size for the action cache */
> >   +	int ACTION_CACHE_SIZE_DEFAULT = 20;
> >
> >   -    /** Property for the size of the layout cache if
> caching is on */
> >   -    String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
> >   +	/** Property for the size of the layout cache if
> caching is on */
> >   +	String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
> >
> >   -    /** The default size for the layout cache */
> >   -    int LAYOUT_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size for the layout cache */
> >   +	int LAYOUT_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** Property for the size of the navigation cache if
> caching is on */
> >   -    String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
> >   +	/** Property for the size of the navigation cache if
> caching is on */
> >   +	String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
> >
> >   -    /** The default size for the navigation cache */
> >   -    int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size for the navigation cache */
> >   +	int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** Property for the size of the page cache if
> caching is on */
> >   -    String PAGE_CACHE_SIZE_KEY = "page.cache.size";
> >   +	/** Property for the size of the page cache if caching is on */
> >   +	String PAGE_CACHE_SIZE_KEY = "page.cache.size";
> >
> >   -    /** The default size for the page cache */
> >   -    int PAGE_CACHE_SIZE_DEFAULT = 5;
> >   +	/** The default size for the page cache */
> >   +	int PAGE_CACHE_SIZE_DEFAULT = 5;
> >
> >   -    /** Property for the size of the screen cache if
> caching is on */
> >   -    String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
> >   +	/** Property for the size of the screen cache if
> caching is on */
> >   +	String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
> >
> >   -    /** The default size for the screen cache */
> >   -    int SCREEN_CACHE_SIZE_DEFAULT = 50;
> >   +	/** The default size for the screen cache */
> >   +	int SCREEN_CACHE_SIZE_DEFAULT = 50;
> >
> >   -    /** The key for the schedulder job cache size if
> module caching is on. */
> >   -    String SCHEDULED_JOB_CACHE_SIZE_KEY =
> "scheduledjob.cache.size";
> >   +	/** The key for the schedulder job cache size if module
> caching is on. */
> >   +	String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
> >
> >   -    /** The default size of the schedulder job cache if
> module caching is on. */
> >   -    int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size of the schedulder job cache if
> module caching is on. */
> >   +	int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** The packages where Turbine will look for modules. */
> >   -    String MODULE_PACKAGES = "module.packages";
> >   +	/** The packages where Turbine will look for modules. */
> >   +	String MODULE_PACKAGES = "module.packages";
> >
> >   -    /** Home page template. */
> >   -    String TEMPLATE_HOMEPAGE = "template.homepage";
> >   +	/** Home page template. */
> >   +	String TEMPLATE_HOMEPAGE = "template.homepage";
> >
> >   -    /** Login template. */
> >   -    String TEMPLATE_LOGIN = "template.login";
> >   +	/** Login template. */
> >   +	String TEMPLATE_LOGIN = "template.login";
> >
> >   -    /** Template error template Property. */
> >   -    String TEMPLATE_ERROR_KEY = "template.error";
> >   +	/** Template error template Property. */
> >   +	String TEMPLATE_ERROR_KEY = "template.error";
> >
> >   -    /** Template error default for JSP */
> >   -    String TEMPLATE_ERROR_JSP = "error.jsp";
> >   +	/** Template error default for JSP */
> >   +	String TEMPLATE_ERROR_JSP = "error.jsp";
> >
> >   -    /** Template error default for Velocity */
> >   -    String TEMPLATE_ERROR_VM = "error.vm";
> >   +	/** Template error default for Velocity */
> >   +	String TEMPLATE_ERROR_VM = "error.vm";
> >
> >   -    /** Home page screen. */
> >   -    String SCREEN_HOMEPAGE = "screen.homepage";
> >   +	/** Home page screen. */
> >   +	String SCREEN_HOMEPAGE = "screen.homepage";
> >
> >   -    /** Login screen. */
> >   -    String SCREEN_LOGIN = "screen.login";
> >   +	/** Login screen. */
> >   +	String SCREEN_LOGIN = "screen.login";
> >
> >   -    /** Login error screen. */
> >   -    String SCREEN_ERROR_KEY = "screen.error";
> >   +	/** Login error screen. */
> >   +	String SCREEN_ERROR_KEY = "screen.error";
> >
> >   -    /** Default value for Login Screen */
> >   -    String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
> >   +	/** Default value for Login Screen */
> >   +	String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
> >
> >   -    /** Report Screen for invalid state in the application*/
> >   -    String SCREEN_INVALID_STATE = "screen.invalidstate";
> >   +	/** Report Screen for invalid state in the application*/
> >   +	String SCREEN_INVALID_STATE = "screen.invalidstate";
> >
> >   -    /** Report Template for invalid state in the application */
> >   -    String TEMPLATE_INVALID_STATE = "template.invalidstate";
> >   +	/** Report Template for invalid state in the application */
> >   +	String TEMPLATE_INVALID_STATE = "template.invalidstate";
> >
> >   -    /** Action to perform when a user logs in. */
> >   -    String ACTION_LOGIN_KEY = "action.login";
> >   +	/** Action to perform when a user logs in. */
> >   +	String ACTION_LOGIN_KEY = "action.login";
> >
> >   -    /** Default Value for login Action */
> >   -    String ACTION_LOGIN_DEFAULT = "LoginUser";
> >   +	/** Default Value for login Action */
> >   +	String ACTION_LOGIN_DEFAULT = "LoginUser";
> >
> >   -    /** Action to perform when a user logs out. */
> >   -    String ACTION_LOGOUT_KEY = "action.logout";
> >   +	/** Action to perform when a user logs out. */
> >   +	String ACTION_LOGOUT_KEY = "action.logout";
> >
> >   -    /** Default Value for ACTION_LOGOUT */
> >   -    String ACTION_LOGOUT_DEFAULT = "LogoutUser";
> >   +	/** Default Value for ACTION_LOGOUT */
> >   +	String ACTION_LOGOUT_DEFAULT = "LogoutUser";
> >
> >   -    /** Actions that performs session validation. */
> >   -    String ACTION_SESSION_VALIDATOR_KEY =
> "action.sessionvalidator";
> >   +	/** Actions that performs session validation. */
> >   +	String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
> >
> >   -    /** Default value for the session validator.
> (org.apache.modules.actions.sessionvalidator.TemplateSessionVa
> lidator) */
> >   -    String ACTION_SESSION_VALIDATOR_DEFAULT =
> "sessionvalidator.TemplateSessionValidator";
> >   +	/** Default value for the session validator.
> (org.apache.modules.actions.sessionvalidator.TemplateSessionVa
> lidator) */
> >   +	String ACTION_SESSION_VALIDATOR_DEFAULT =
> "sessionvalidator.TemplateSessionValidator";
> >
> >   -    /** Action that performs Access control */
> >   -    String ACTION_ACCESS_CONTROLLER_KEY =
> "action.accesscontroller";
> >   +	/** Action that performs Access control */
> >   +	String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
> >
> >   -    /** Default value for the access controller.
> (org.apache.modules.actions.AccessController) */
> >   -    String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
> >   +	/** Default value for the access controller.
> (org.apache.modules.actions.AccessController) */
> >   +	String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
> >
> >   -    /** Select whether an Action Event must have a
> non-zero value */
> >   -    String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY =
> "action.eventsubmit.needsvalue";
> >   +	/** Select whether an Action Event must have a non-zero value */
> >   +	String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY =
> "action.eventsubmit.needsvalue";
> >
> >   -    /** Default value for action.eventsubmit.needsvalue */
> >   -    boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
> >   +	/** Default value for action.eventsubmit.needsvalue */
> >   +	boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
> >
> >   -    /** Default layout. */
> >   -    String LAYOUT_DEFAULT = "layout.default";
> >   +	/** Select whether an exception in an Action method is
> bubbled up to Turbine.handleException() */
> >   +	String ACTION_EVENT_BUBBLE_EXCEPTION_UP =
> "action.event.bubbleexception";
> >
> >   -    /** Default page. */
> >   -    String PAGE_DEFAULT_KEY = "page.default";
> >   +	/** Default value for action.event.bubbleexception */
> >   +	boolean ACTION_EVENT_BUBBLE_EXCEPTION_UP_DEFAULT = true;
> >
> >   -    /** Default value for the Default Page */
> >   -    String PAGE_DEFAULT_DEFAULT = "DefaultPage";
> >   +	/** Default layout. */
> >   +	String LAYOUT_DEFAULT = "layout.default";
> >
> >   -    /** Default value for the Default Screen */
> >   -    String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
> >   +	/** Default page. */
> >   +	String PAGE_DEFAULT_KEY = "page.default";
> >
> >   -    /** Message to display upon successful login. */
> >   -    String LOGIN_MESSAGE = "login.message";
> >   +	/** Default value for the Default Page */
> >   +	String PAGE_DEFAULT_DEFAULT = "DefaultPage";
> >
> >   -    /** Message to display when a user fails to login. */
> >   -    String LOGIN_ERROR = "login.error";
> >   +	/** Default value for the Default Screen */
> >   +	String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
> >
> >   -    /** Message to display when screens variable invalid. */
> >   -    String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
> >   +	/** Message to display upon successful login. */
> >   +	String LOGIN_MESSAGE = "login.message";
> >
> >   -    /** Message to display when a user logs out. */
> >   -    String LOGOUT_MESSAGE = "logout.message";
> >   +	/** Message to display when a user fails to login. */
> >   +	String LOGIN_ERROR = "login.error";
> >
> >   -    /** Session Timeout */
> >   -    String SESSION_TIMEOUT_KEY = "session.timeout";
> >   +	/** Message to display when screens variable invalid. */
> >   +	String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
> >
> >   -    /** Session Timeout Default Value */
> >   -    int SESSION_TIMEOUT_DEFAULT = -1;
> >   +	/** Message to display when a user logs out. */
> >   +	String LOGOUT_MESSAGE = "logout.message";
> >
> >   -    /** Indicate whether this Turbine application is
> using SSL. */
> >   -    String USE_SSL_KEY = "use.ssl";
> >   +	/** Session Timeout */
> >   +	String SESSION_TIMEOUT_KEY = "session.timeout";
> >
> >   -    /** Default value for the SSL key */
> >   -    boolean USE_SSL_DEFAULT = true;
> >   +	/** Session Timeout Default Value */
> >   +	int SESSION_TIMEOUT_DEFAULT = -1;
> >
> >   -    /**
> >   -     * Should the PP fold the case of everything.
> Possible values are
> >   -     * "upper", "lower" and "none".
> >   -     */
> >   -    String PP_URL_CASE_FOLDING = "url.case.folding";
> >   +	/** Indicate whether this Turbine application is using SSL. */
> >   +	String USE_SSL_KEY = "use.ssl";
> >
> >   -    /** Default document type. */
> >   -    String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
> >   +	/** Default value for the SSL key */
> >   +	boolean USE_SSL_DEFAULT = true;
> >
> >   -    /** Html 4.0 Transitional */
> >   -    String DOCUMENT_TYPE_HTML40TRANSITIONAL =
> "Html40Transitional";
> >   -    /** Html 4.0 Strict */
> >   -    String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
> >   -    /** Html 4.0 Frameset */
> >   -    String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
> >   +	/**
> >   +	 * Should the PP fold the case of everything. Possible
> values are
> >   +	 * "upper", "lower" and "none".
> >   +	 */
> >   +	String PP_URL_CASE_FOLDING = "url.case.folding";
> >
> >   -    /** Default doctype root element. */
> >   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY
> >   -            = "default.html.doctype.root.element";
> >   +	/** Default document type. */
> >   +	String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
> >
> >   -    /** Default value for the doctype root element */
> >   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
> >   -            = "HTML";
> >   +	/** Html 4.0 Transitional */
> >   +	String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
> >   +	/** Html 4.0 Strict */
> >   +	String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
> >   +	/** Html 4.0 Frameset */
> >   +	String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
> >
> >   -    /** Default doctype dtd. */
> >   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY
> >   -            = "default.html.doctype.identifier";
> >   +	/** Default doctype root element. */
> >   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY
> >   +			= "default.html.doctype.root.element";
> >
> >   -    /** Default Doctype dtd value */
> >   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
> >   -            = "-//W3C//DTD HTML 4.01 Transitional//EN";
> >   +	/** Default value for the doctype root element */
> >   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
> >   +			= "HTML";
> >
> >   -    /** Default doctype url. */
> >   -    String DEFAULT_HTML_DOCTYPE_URI_KEY
> >   -            = "default.html.doctype.url";
> >   +	/** Default doctype dtd. */
> >   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY
> >   +			= "default.html.doctype.identifier";
> >
> >   -    /** Default doctype url value. */
> >   -    String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
> >   -            =
> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
> >   +	/** Default Doctype dtd value */
> >   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
> >   +			= "-//W3C//DTD HTML 4.01 Transitional//EN";
> >
> >   -    /** Default Language property */
> >   -    String LOCALE_DEFAULT_LANGUAGE_KEY =
> "locale.default.language";
> >   +	/** Default doctype url. */
> >   +	String DEFAULT_HTML_DOCTYPE_URI_KEY
> >   +			= "default.html.doctype.url";
> >
> >   -    /** Default value for Language property */
> >   -    String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
> >   +	/** Default doctype url value. */
> >   +	String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
> >   +			=
> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
> >
> >   -    /** Default Country property */
> >   -    String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
> >   +	/** Default Language property */
> >   +	String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
> >
> >   -    /** Default value for Country property */
> >   -    String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
> >   +	/** Default value for Language property */
> >   +	String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
> >
> >   -    /** Default Charset property */
> >   -    String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
> >   +	/** Default Country property */
> >   +	String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
> >
> >   -    /** Default value for Charset property */
> >   -    String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
> >   +	/** Default value for Country property */
> >   +	String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
> >
> >   -    /** If this value is set as applicationRoot, then
> the webContext is used
> >   -     * as application root
> >   -     */
> >   -    String WEB_CONTEXT = "webContext";
> >   +	/** Default Charset property */
> >   +	String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
> >
> >   -    /** Key for the Path to the
> TurbineResources.properties File */
> >   -    String APPLICATION_ROOT_KEY = "applicationRoot";
> >   +	/** Default value for Charset property */
> >   +	String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
> >
> >   -    /** Default Value for the Path to the
> TurbineResources.properties File */
> >   -    String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
> >   +	/** If this value is set as applicationRoot, then the
> webContext is used
> >   +	 * as application root
> >   +	 */
> >   +	String WEB_CONTEXT = "webContext";
> >
> >   -    /** This is the key used in the Turbine.properties
> to access resources
> >   -     * relative to the Web Application root. It might
> differ from the
> >   -     * Application root, but the normal case is, that
> the webapp root
> >   -     * and the application root point to the same path.
> >   -     */
> >   -    String WEBAPP_ROOT_KEY = "webappRoot";
> >   +	/** Key for the Path to the TurbineResources.properties File */
> >   +	String APPLICATION_ROOT_KEY = "applicationRoot";
> >
> >   -    /** The Key in the deployment descriptor for the
> Logging Directory */
> >   -    String LOGGING_ROOT_KEY = "loggingRoot";
> >   +	/** Default Value for the Path to the
> TurbineResources.properties File */
> >   +	String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
> >
> >   -    /** Default Value for the Logging Directory,
> relative to the webroot */
> >   -    String LOGGING_ROOT_DEFAULT = "/logs";
> >   +	/** This is the key used in the Turbine.properties to
> access resources
> >   +	 * relative to the Web Application root. It might
> differ from the
> >   +	 * Application root, but the normal case is, that the
> webapp root
> >   +	 * and the application root point to the same path.
> >   +	 */
> >   +	String WEBAPP_ROOT_KEY = "webappRoot";
> >
> >   -    /** Key for loading the UUID Generator with a
> constant value */
> >   -    String UUID_ADDRESS_KEY = "uuid.address";
> >   +	/** The Key in the deployment descriptor for the
> Logging Directory */
> >   +	String LOGGING_ROOT_KEY = "loggingRoot";
> >
> >   -    /** Context Key for the screen placeholder in the
> various velocity layouts */
> >   -    String SCREEN_PLACEHOLDER = "screen_placeholder";
> >   +	/** Default Value for the Logging Directory, relative
> to the webroot */
> >   +	String LOGGING_ROOT_DEFAULT = "/logs";
> >
> >   -    /** Context Key for the navigation object
> placeholder in the various velocity layouts */
> >   -    String NAVIGATION_PLACEHOLDER = "navigation";
> >   +	/** Key for loading the UUID Generator with a constant value */
> >   +	String UUID_ADDRESS_KEY = "uuid.address";
> >
> >   -    /** Context Key for the Processing Exception */
> >   -    String PROCESSING_EXCEPTION_PLACEHOLDER =
> "processingException";
> >   +	/** Context Key for the screen placeholder in the
> various velocity layouts */
> >   +	String SCREEN_PLACEHOLDER = "screen_placeholder";
> >
> >   -    /** Context Key for the Stack Trace */
> >   -    String STACK_TRACE_PLACEHOLDER = "stackTrace";
> >   +	/** Context Key for the navigation object placeholder
> in the various velocity layouts */
> >   +	String NAVIGATION_PLACEHOLDER = "navigation";
> >
> >   -    /** Prefix for layout related classes and templates */
> >   -    String LAYOUT_PREFIX = "layouts";
> >   +	/** Context Key for the Processing Exception */
> >   +	String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
> >
> >   -    /** Prefix for screen related classes and templates */
> >   -    String SCREEN_PREFIX = "screens";
> >   +	/** Context Key for the Stack Trace */
> >   +	String STACK_TRACE_PLACEHOLDER = "stackTrace";
> >
> >   -    /** Prefix for navigation related classes and templates */
> >   -    String NAVIGATION_PREFIX = "navigations";
> >   +	/** Prefix for layout related classes and templates */
> >   +	String LAYOUT_PREFIX = "layouts";
> >
> >   -    /** Prefix for action related classes and templates */
> >   -    String ACTION_PREFIX = "actions";
> >   +	/** Prefix for screen related classes and templates */
> >   +	String SCREEN_PREFIX = "screens";
> >
> >   -    /** Prefix for page related classes and templates */
> >   -    String PAGE_PREFIX = "pages";
> >   +	/** Prefix for navigation related classes and templates */
> >   +	String NAVIGATION_PREFIX = "navigations";
> >
> >   -    /** Prefix for scheduler job related classes */
> >   -    String SCHEDULEDJOB_PREFIX = "scheduledjobs";
> >   +	/** Prefix for action related classes and templates */
> >   +	String ACTION_PREFIX = "actions";
> >   +
> >   +	/** Prefix for page related classes and templates */
> >   +	String PAGE_PREFIX = "pages";
> >   +
> >   +	/** Prefix for scheduler job related classes */
> >   +	String SCHEDULEDJOB_PREFIX = "scheduledjobs";
> >    }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by Eric Pugh <ep...@upstate.com>.
This I think affects a lot of the constants..  Is this the kind of thing
that requires deprecation, or can I just change them?  It seems like only
turbine would use these..
Eric

> -----Original Message-----
> From: Daniel L. Rall [mailto:dlr@finemaltcoding.com]
> Sent: Friday, September 26, 2003 10:06 PM
> To: Turbine Developers List
> Subject: Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine
> TurbineConstants.java
>
>
> Eric, does this commit introduce tabs, or is that just my new
> email client?
>
> Also, I'd prefer that the placement of the word "default" in
> these constant
> names be consistent (either at the beginning or end, not a
> mix).  I see both
> DEFAULT_LOGGER and SCREEN_CACHE_SIZE_DEFAULT -- I recommend
> deprecating some
> of the old names in favor of a consistent style.
>
>
> epugh@apache.org wrote:
> > epugh       2003/09/26 12:18:22
> >
> >   Modified:    src/java/org/apache/turbine TurbineConstants.java
> >   Log:
> >   Missing constants from last commit.  Needed for
> bubbleexceptions in ActionEvents...
> >
> >   Revision  Changes    Path
> >   1.27      +211 -205
> jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java
> >
> >   Index: TurbineConstants.java
> >
> ===================================================================
> >   RCS file:
> /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/Turbin
> eConstants.java,v
> >   retrieving revision 1.26
> >   retrieving revision 1.27
> >   diff -u -r1.26 -r1.27
> >   --- TurbineConstants.java	3 Sep 2003 09:14:39 -0000	1.26
> >   +++ TurbineConstants.java	26 Sep 2003 19:18:22 -0000	1.27
> >   @@ -65,295 +65,301 @@
> >     */
> >    public interface TurbineConstants
> >    {
> >   -    /**
> >   -     * <p>The prefix used to denote the namespace
> reserved for and
> >   -     * used by Turbine-specific configuration parameters (such as
> >   -     * those passed in via servlet container's config file
> >   -     * (<code>server.xml</code>), or the web app
> deployment descriptor
> >   -     * (<code>web.xml</code>).</p>
> >   -     *
> >   -     * <p>For example, a parameter in the Turbine
> namespace would be
> >   -     * <code>org.apache.turbine.loggingRoot</code>.</p>
> >   -     */
> >   -    String CONFIG_NAMESPACE = "org.apache.turbine";
> >   +	/**
> >   +	 * <p>The prefix used to denote the namespace reserved for and
> >   +	 * used by Turbine-specific configuration parameters (such as
> >   +	 * those passed in via servlet container's config file
> >   +	 * (<code>server.xml</code>), or the web app deployment
> descriptor
> >   +	 * (<code>web.xml</code>).</p>
> >   +	 *
> >   +	 * <p>For example, a parameter in the Turbine namespace would be
> >   +	 * <code>org.apache.turbine.loggingRoot</code>.</p>
> >   +	 */
> >   +	String CONFIG_NAMESPACE = "org.apache.turbine";
> >
> >   -    /** The key for the Log4J File */
> >   -    String LOG4J_CONFIG_FILE = "log4j.file";
> >   +	/** The key for the Log4J File */
> >   +	String LOG4J_CONFIG_FILE = "log4j.file";
> >
> >   -    /** The default value for the Log4J File */
> >   -    String LOG4J_CONFIG_FILE_DEFAULT =
> "/WEB-INF/conf/Log4j.properties";
> >   +	/** The default value for the Log4J File */
> >   +	String LOG4J_CONFIG_FILE_DEFAULT =
> "/WEB-INF/conf/Log4j.properties";
> >
> >   -    /** This is the default log file to be used for logging */
> >   -    String DEFAULT_LOGGER = "turbine";
> >   +	/** This is the default log file to be used for logging */
> >   +	String DEFAULT_LOGGER = "turbine";
> >
> >   -    /** The logging facility which captures output from
> the SchedulerService. */
> >   -    String SCHEDULER_LOG_FACILITY = "scheduler";
> >   +	/** The logging facility which captures output from the
> SchedulerService. */
> >   +	String SCHEDULER_LOG_FACILITY = "scheduler";
> >
> >   -    /** The SMTP server Turbine uses to send mail. */
> >   -    String MAIL_SERVER_KEY = "mail.server";
> >   +	/** The SMTP server Turbine uses to send mail. */
> >   +	String MAIL_SERVER_KEY = "mail.server";
> >
> >   -    /** Default Value for he SMTP server that Turbine
> uses to send mail. */
> >   -    String MAIL_SERVER_DEFAULT = "localhost";
> >   +	/** Default Value for he SMTP server that Turbine uses
> to send mail. */
> >   +	String MAIL_SERVER_DEFAULT = "localhost";
> >
> >   -    /** The Smtp sender address property */
> >   -    String MAIL_SMTP_FROM = "mail.smtp.from";
> >   +	/** The Smtp sender address property */
> >   +	String MAIL_SMTP_FROM = "mail.smtp.from";
> >
> >   -    /** Property that controls whether Turbine modules
> are cached or not. */
> >   -    String MODULE_CACHE_KEY = "module.cache";
> >   +	/** Property that controls whether Turbine modules are
> cached or not. */
> >   +	String MODULE_CACHE_KEY = "module.cache";
> >
> >   -    /** Default value of the Turbine Module Caching */
> >   -    boolean MODULE_CACHE_DEFAULT = true;
> >   +	/** Default value of the Turbine Module Caching */
> >   +	boolean MODULE_CACHE_DEFAULT = true;
> >
> >   -    /** Property for the size of the action cache if
> caching is on */
> >   -    String ACTION_CACHE_SIZE_KEY = "action.cache.size";
> >   +	/** Property for the size of the action cache if
> caching is on */
> >   +	String ACTION_CACHE_SIZE_KEY = "action.cache.size";
> >
> >   -    /** The default size for the action cache */
> >   -    int ACTION_CACHE_SIZE_DEFAULT = 20;
> >   +	/** The default size for the action cache */
> >   +	int ACTION_CACHE_SIZE_DEFAULT = 20;
> >
> >   -    /** Property for the size of the layout cache if
> caching is on */
> >   -    String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
> >   +	/** Property for the size of the layout cache if
> caching is on */
> >   +	String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
> >
> >   -    /** The default size for the layout cache */
> >   -    int LAYOUT_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size for the layout cache */
> >   +	int LAYOUT_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** Property for the size of the navigation cache if
> caching is on */
> >   -    String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
> >   +	/** Property for the size of the navigation cache if
> caching is on */
> >   +	String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
> >
> >   -    /** The default size for the navigation cache */
> >   -    int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size for the navigation cache */
> >   +	int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** Property for the size of the page cache if
> caching is on */
> >   -    String PAGE_CACHE_SIZE_KEY = "page.cache.size";
> >   +	/** Property for the size of the page cache if caching is on */
> >   +	String PAGE_CACHE_SIZE_KEY = "page.cache.size";
> >
> >   -    /** The default size for the page cache */
> >   -    int PAGE_CACHE_SIZE_DEFAULT = 5;
> >   +	/** The default size for the page cache */
> >   +	int PAGE_CACHE_SIZE_DEFAULT = 5;
> >
> >   -    /** Property for the size of the screen cache if
> caching is on */
> >   -    String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
> >   +	/** Property for the size of the screen cache if
> caching is on */
> >   +	String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
> >
> >   -    /** The default size for the screen cache */
> >   -    int SCREEN_CACHE_SIZE_DEFAULT = 50;
> >   +	/** The default size for the screen cache */
> >   +	int SCREEN_CACHE_SIZE_DEFAULT = 50;
> >
> >   -    /** The key for the schedulder job cache size if
> module caching is on. */
> >   -    String SCHEDULED_JOB_CACHE_SIZE_KEY =
> "scheduledjob.cache.size";
> >   +	/** The key for the schedulder job cache size if module
> caching is on. */
> >   +	String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
> >
> >   -    /** The default size of the schedulder job cache if
> module caching is on. */
> >   -    int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
> >   +	/** The default size of the schedulder job cache if
> module caching is on. */
> >   +	int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
> >
> >   -    /** The packages where Turbine will look for modules. */
> >   -    String MODULE_PACKAGES = "module.packages";
> >   +	/** The packages where Turbine will look for modules. */
> >   +	String MODULE_PACKAGES = "module.packages";
> >
> >   -    /** Home page template. */
> >   -    String TEMPLATE_HOMEPAGE = "template.homepage";
> >   +	/** Home page template. */
> >   +	String TEMPLATE_HOMEPAGE = "template.homepage";
> >
> >   -    /** Login template. */
> >   -    String TEMPLATE_LOGIN = "template.login";
> >   +	/** Login template. */
> >   +	String TEMPLATE_LOGIN = "template.login";
> >
> >   -    /** Template error template Property. */
> >   -    String TEMPLATE_ERROR_KEY = "template.error";
> >   +	/** Template error template Property. */
> >   +	String TEMPLATE_ERROR_KEY = "template.error";
> >
> >   -    /** Template error default for JSP */
> >   -    String TEMPLATE_ERROR_JSP = "error.jsp";
> >   +	/** Template error default for JSP */
> >   +	String TEMPLATE_ERROR_JSP = "error.jsp";
> >
> >   -    /** Template error default for Velocity */
> >   -    String TEMPLATE_ERROR_VM = "error.vm";
> >   +	/** Template error default for Velocity */
> >   +	String TEMPLATE_ERROR_VM = "error.vm";
> >
> >   -    /** Home page screen. */
> >   -    String SCREEN_HOMEPAGE = "screen.homepage";
> >   +	/** Home page screen. */
> >   +	String SCREEN_HOMEPAGE = "screen.homepage";
> >
> >   -    /** Login screen. */
> >   -    String SCREEN_LOGIN = "screen.login";
> >   +	/** Login screen. */
> >   +	String SCREEN_LOGIN = "screen.login";
> >
> >   -    /** Login error screen. */
> >   -    String SCREEN_ERROR_KEY = "screen.error";
> >   +	/** Login error screen. */
> >   +	String SCREEN_ERROR_KEY = "screen.error";
> >
> >   -    /** Default value for Login Screen */
> >   -    String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
> >   +	/** Default value for Login Screen */
> >   +	String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
> >
> >   -    /** Report Screen for invalid state in the application*/
> >   -    String SCREEN_INVALID_STATE = "screen.invalidstate";
> >   +	/** Report Screen for invalid state in the application*/
> >   +	String SCREEN_INVALID_STATE = "screen.invalidstate";
> >
> >   -    /** Report Template for invalid state in the application */
> >   -    String TEMPLATE_INVALID_STATE = "template.invalidstate";
> >   +	/** Report Template for invalid state in the application */
> >   +	String TEMPLATE_INVALID_STATE = "template.invalidstate";
> >
> >   -    /** Action to perform when a user logs in. */
> >   -    String ACTION_LOGIN_KEY = "action.login";
> >   +	/** Action to perform when a user logs in. */
> >   +	String ACTION_LOGIN_KEY = "action.login";
> >
> >   -    /** Default Value for login Action */
> >   -    String ACTION_LOGIN_DEFAULT = "LoginUser";
> >   +	/** Default Value for login Action */
> >   +	String ACTION_LOGIN_DEFAULT = "LoginUser";
> >
> >   -    /** Action to perform when a user logs out. */
> >   -    String ACTION_LOGOUT_KEY = "action.logout";
> >   +	/** Action to perform when a user logs out. */
> >   +	String ACTION_LOGOUT_KEY = "action.logout";
> >
> >   -    /** Default Value for ACTION_LOGOUT */
> >   -    String ACTION_LOGOUT_DEFAULT = "LogoutUser";
> >   +	/** Default Value for ACTION_LOGOUT */
> >   +	String ACTION_LOGOUT_DEFAULT = "LogoutUser";
> >
> >   -    /** Actions that performs session validation. */
> >   -    String ACTION_SESSION_VALIDATOR_KEY =
> "action.sessionvalidator";
> >   +	/** Actions that performs session validation. */
> >   +	String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
> >
> >   -    /** Default value for the session validator.
> (org.apache.modules.actions.sessionvalidator.TemplateSessionVa
> lidator) */
> >   -    String ACTION_SESSION_VALIDATOR_DEFAULT =
> "sessionvalidator.TemplateSessionValidator";
> >   +	/** Default value for the session validator.
> (org.apache.modules.actions.sessionvalidator.TemplateSessionVa
> lidator) */
> >   +	String ACTION_SESSION_VALIDATOR_DEFAULT =
> "sessionvalidator.TemplateSessionValidator";
> >
> >   -    /** Action that performs Access control */
> >   -    String ACTION_ACCESS_CONTROLLER_KEY =
> "action.accesscontroller";
> >   +	/** Action that performs Access control */
> >   +	String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
> >
> >   -    /** Default value for the access controller.
> (org.apache.modules.actions.AccessController) */
> >   -    String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
> >   +	/** Default value for the access controller.
> (org.apache.modules.actions.AccessController) */
> >   +	String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
> >
> >   -    /** Select whether an Action Event must have a
> non-zero value */
> >   -    String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY =
> "action.eventsubmit.needsvalue";
> >   +	/** Select whether an Action Event must have a non-zero value */
> >   +	String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY =
> "action.eventsubmit.needsvalue";
> >
> >   -    /** Default value for action.eventsubmit.needsvalue */
> >   -    boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
> >   +	/** Default value for action.eventsubmit.needsvalue */
> >   +	boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
> >
> >   -    /** Default layout. */
> >   -    String LAYOUT_DEFAULT = "layout.default";
> >   +	/** Select whether an exception in an Action method is
> bubbled up to Turbine.handleException() */
> >   +	String ACTION_EVENT_BUBBLE_EXCEPTION_UP =
> "action.event.bubbleexception";
> >
> >   -    /** Default page. */
> >   -    String PAGE_DEFAULT_KEY = "page.default";
> >   +	/** Default value for action.event.bubbleexception */
> >   +	boolean ACTION_EVENT_BUBBLE_EXCEPTION_UP_DEFAULT = true;
> >
> >   -    /** Default value for the Default Page */
> >   -    String PAGE_DEFAULT_DEFAULT = "DefaultPage";
> >   +	/** Default layout. */
> >   +	String LAYOUT_DEFAULT = "layout.default";
> >
> >   -    /** Default value for the Default Screen */
> >   -    String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
> >   +	/** Default page. */
> >   +	String PAGE_DEFAULT_KEY = "page.default";
> >
> >   -    /** Message to display upon successful login. */
> >   -    String LOGIN_MESSAGE = "login.message";
> >   +	/** Default value for the Default Page */
> >   +	String PAGE_DEFAULT_DEFAULT = "DefaultPage";
> >
> >   -    /** Message to display when a user fails to login. */
> >   -    String LOGIN_ERROR = "login.error";
> >   +	/** Default value for the Default Screen */
> >   +	String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
> >
> >   -    /** Message to display when screens variable invalid. */
> >   -    String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
> >   +	/** Message to display upon successful login. */
> >   +	String LOGIN_MESSAGE = "login.message";
> >
> >   -    /** Message to display when a user logs out. */
> >   -    String LOGOUT_MESSAGE = "logout.message";
> >   +	/** Message to display when a user fails to login. */
> >   +	String LOGIN_ERROR = "login.error";
> >
> >   -    /** Session Timeout */
> >   -    String SESSION_TIMEOUT_KEY = "session.timeout";
> >   +	/** Message to display when screens variable invalid. */
> >   +	String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
> >
> >   -    /** Session Timeout Default Value */
> >   -    int SESSION_TIMEOUT_DEFAULT = -1;
> >   +	/** Message to display when a user logs out. */
> >   +	String LOGOUT_MESSAGE = "logout.message";
> >
> >   -    /** Indicate whether this Turbine application is
> using SSL. */
> >   -    String USE_SSL_KEY = "use.ssl";
> >   +	/** Session Timeout */
> >   +	String SESSION_TIMEOUT_KEY = "session.timeout";
> >
> >   -    /** Default value for the SSL key */
> >   -    boolean USE_SSL_DEFAULT = true;
> >   +	/** Session Timeout Default Value */
> >   +	int SESSION_TIMEOUT_DEFAULT = -1;
> >
> >   -    /**
> >   -     * Should the PP fold the case of everything.
> Possible values are
> >   -     * "upper", "lower" and "none".
> >   -     */
> >   -    String PP_URL_CASE_FOLDING = "url.case.folding";
> >   +	/** Indicate whether this Turbine application is using SSL. */
> >   +	String USE_SSL_KEY = "use.ssl";
> >
> >   -    /** Default document type. */
> >   -    String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
> >   +	/** Default value for the SSL key */
> >   +	boolean USE_SSL_DEFAULT = true;
> >
> >   -    /** Html 4.0 Transitional */
> >   -    String DOCUMENT_TYPE_HTML40TRANSITIONAL =
> "Html40Transitional";
> >   -    /** Html 4.0 Strict */
> >   -    String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
> >   -    /** Html 4.0 Frameset */
> >   -    String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
> >   +	/**
> >   +	 * Should the PP fold the case of everything. Possible
> values are
> >   +	 * "upper", "lower" and "none".
> >   +	 */
> >   +	String PP_URL_CASE_FOLDING = "url.case.folding";
> >
> >   -    /** Default doctype root element. */
> >   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY
> >   -            = "default.html.doctype.root.element";
> >   +	/** Default document type. */
> >   +	String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
> >
> >   -    /** Default value for the doctype root element */
> >   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
> >   -            = "HTML";
> >   +	/** Html 4.0 Transitional */
> >   +	String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
> >   +	/** Html 4.0 Strict */
> >   +	String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
> >   +	/** Html 4.0 Frameset */
> >   +	String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
> >
> >   -    /** Default doctype dtd. */
> >   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY
> >   -            = "default.html.doctype.identifier";
> >   +	/** Default doctype root element. */
> >   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY
> >   +			= "default.html.doctype.root.element";
> >
> >   -    /** Default Doctype dtd value */
> >   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
> >   -            = "-//W3C//DTD HTML 4.01 Transitional//EN";
> >   +	/** Default value for the doctype root element */
> >   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
> >   +			= "HTML";
> >
> >   -    /** Default doctype url. */
> >   -    String DEFAULT_HTML_DOCTYPE_URI_KEY
> >   -            = "default.html.doctype.url";
> >   +	/** Default doctype dtd. */
> >   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY
> >   +			= "default.html.doctype.identifier";
> >
> >   -    /** Default doctype url value. */
> >   -    String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
> >   -            =
> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
> >   +	/** Default Doctype dtd value */
> >   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
> >   +			= "-//W3C//DTD HTML 4.01 Transitional//EN";
> >
> >   -    /** Default Language property */
> >   -    String LOCALE_DEFAULT_LANGUAGE_KEY =
> "locale.default.language";
> >   +	/** Default doctype url. */
> >   +	String DEFAULT_HTML_DOCTYPE_URI_KEY
> >   +			= "default.html.doctype.url";
> >
> >   -    /** Default value for Language property */
> >   -    String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
> >   +	/** Default doctype url value. */
> >   +	String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
> >   +			=
> "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
> >
> >   -    /** Default Country property */
> >   -    String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
> >   +	/** Default Language property */
> >   +	String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
> >
> >   -    /** Default value for Country property */
> >   -    String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
> >   +	/** Default value for Language property */
> >   +	String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
> >
> >   -    /** Default Charset property */
> >   -    String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
> >   +	/** Default Country property */
> >   +	String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
> >
> >   -    /** Default value for Charset property */
> >   -    String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
> >   +	/** Default value for Country property */
> >   +	String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
> >
> >   -    /** If this value is set as applicationRoot, then
> the webContext is used
> >   -     * as application root
> >   -     */
> >   -    String WEB_CONTEXT = "webContext";
> >   +	/** Default Charset property */
> >   +	String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
> >
> >   -    /** Key for the Path to the
> TurbineResources.properties File */
> >   -    String APPLICATION_ROOT_KEY = "applicationRoot";
> >   +	/** Default value for Charset property */
> >   +	String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
> >
> >   -    /** Default Value for the Path to the
> TurbineResources.properties File */
> >   -    String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
> >   +	/** If this value is set as applicationRoot, then the
> webContext is used
> >   +	 * as application root
> >   +	 */
> >   +	String WEB_CONTEXT = "webContext";
> >
> >   -    /** This is the key used in the Turbine.properties
> to access resources
> >   -     * relative to the Web Application root. It might
> differ from the
> >   -     * Application root, but the normal case is, that
> the webapp root
> >   -     * and the application root point to the same path.
> >   -     */
> >   -    String WEBAPP_ROOT_KEY = "webappRoot";
> >   +	/** Key for the Path to the TurbineResources.properties File */
> >   +	String APPLICATION_ROOT_KEY = "applicationRoot";
> >
> >   -    /** The Key in the deployment descriptor for the
> Logging Directory */
> >   -    String LOGGING_ROOT_KEY = "loggingRoot";
> >   +	/** Default Value for the Path to the
> TurbineResources.properties File */
> >   +	String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
> >
> >   -    /** Default Value for the Logging Directory,
> relative to the webroot */
> >   -    String LOGGING_ROOT_DEFAULT = "/logs";
> >   +	/** This is the key used in the Turbine.properties to
> access resources
> >   +	 * relative to the Web Application root. It might
> differ from the
> >   +	 * Application root, but the normal case is, that the
> webapp root
> >   +	 * and the application root point to the same path.
> >   +	 */
> >   +	String WEBAPP_ROOT_KEY = "webappRoot";
> >
> >   -    /** Key for loading the UUID Generator with a
> constant value */
> >   -    String UUID_ADDRESS_KEY = "uuid.address";
> >   +	/** The Key in the deployment descriptor for the
> Logging Directory */
> >   +	String LOGGING_ROOT_KEY = "loggingRoot";
> >
> >   -    /** Context Key for the screen placeholder in the
> various velocity layouts */
> >   -    String SCREEN_PLACEHOLDER = "screen_placeholder";
> >   +	/** Default Value for the Logging Directory, relative
> to the webroot */
> >   +	String LOGGING_ROOT_DEFAULT = "/logs";
> >
> >   -    /** Context Key for the navigation object
> placeholder in the various velocity layouts */
> >   -    String NAVIGATION_PLACEHOLDER = "navigation";
> >   +	/** Key for loading the UUID Generator with a constant value */
> >   +	String UUID_ADDRESS_KEY = "uuid.address";
> >
> >   -    /** Context Key for the Processing Exception */
> >   -    String PROCESSING_EXCEPTION_PLACEHOLDER =
> "processingException";
> >   +	/** Context Key for the screen placeholder in the
> various velocity layouts */
> >   +	String SCREEN_PLACEHOLDER = "screen_placeholder";
> >
> >   -    /** Context Key for the Stack Trace */
> >   -    String STACK_TRACE_PLACEHOLDER = "stackTrace";
> >   +	/** Context Key for the navigation object placeholder
> in the various velocity layouts */
> >   +	String NAVIGATION_PLACEHOLDER = "navigation";
> >
> >   -    /** Prefix for layout related classes and templates */
> >   -    String LAYOUT_PREFIX = "layouts";
> >   +	/** Context Key for the Processing Exception */
> >   +	String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
> >
> >   -    /** Prefix for screen related classes and templates */
> >   -    String SCREEN_PREFIX = "screens";
> >   +	/** Context Key for the Stack Trace */
> >   +	String STACK_TRACE_PLACEHOLDER = "stackTrace";
> >
> >   -    /** Prefix for navigation related classes and templates */
> >   -    String NAVIGATION_PREFIX = "navigations";
> >   +	/** Prefix for layout related classes and templates */
> >   +	String LAYOUT_PREFIX = "layouts";
> >
> >   -    /** Prefix for action related classes and templates */
> >   -    String ACTION_PREFIX = "actions";
> >   +	/** Prefix for screen related classes and templates */
> >   +	String SCREEN_PREFIX = "screens";
> >
> >   -    /** Prefix for page related classes and templates */
> >   -    String PAGE_PREFIX = "pages";
> >   +	/** Prefix for navigation related classes and templates */
> >   +	String NAVIGATION_PREFIX = "navigations";
> >
> >   -    /** Prefix for scheduler job related classes */
> >   -    String SCHEDULEDJOB_PREFIX = "scheduledjobs";
> >   +	/** Prefix for action related classes and templates */
> >   +	String ACTION_PREFIX = "actions";
> >   +
> >   +	/** Prefix for page related classes and templates */
> >   +	String PAGE_PREFIX = "pages";
> >   +
> >   +	/** Prefix for scheduler job related classes */
> >   +	String SCHEDULEDJOB_PREFIX = "scheduledjobs";
> >    }
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by "Daniel L. Rall" <dl...@finemaltcoding.com>.
Eric, does this commit introduce tabs, or is that just my new email client?

Also, I'd prefer that the placement of the word "default" in these constant 
names be consistent (either at the beginning or end, not a mix).  I see both
DEFAULT_LOGGER and SCREEN_CACHE_SIZE_DEFAULT -- I recommend deprecating some 
of the old names in favor of a consistent style.


epugh@apache.org wrote:
> epugh       2003/09/26 12:18:22
> 
>   Modified:    src/java/org/apache/turbine TurbineConstants.java
>   Log:
>   Missing constants from last commit.  Needed for bubbleexceptions in ActionEvents...
>   
>   Revision  Changes    Path
>   1.27      +211 -205  jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java
>   
>   Index: TurbineConstants.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java,v
>   retrieving revision 1.26
>   retrieving revision 1.27
>   diff -u -r1.26 -r1.27
>   --- TurbineConstants.java	3 Sep 2003 09:14:39 -0000	1.26
>   +++ TurbineConstants.java	26 Sep 2003 19:18:22 -0000	1.27
>   @@ -65,295 +65,301 @@
>     */
>    public interface TurbineConstants
>    {
>   -    /**
>   -     * <p>The prefix used to denote the namespace reserved for and
>   -     * used by Turbine-specific configuration parameters (such as
>   -     * those passed in via servlet container's config file
>   -     * (<code>server.xml</code>), or the web app deployment descriptor
>   -     * (<code>web.xml</code>).</p>
>   -     *
>   -     * <p>For example, a parameter in the Turbine namespace would be
>   -     * <code>org.apache.turbine.loggingRoot</code>.</p>
>   -     */
>   -    String CONFIG_NAMESPACE = "org.apache.turbine";
>   +	/**
>   +	 * <p>The prefix used to denote the namespace reserved for and
>   +	 * used by Turbine-specific configuration parameters (such as
>   +	 * those passed in via servlet container's config file
>   +	 * (<code>server.xml</code>), or the web app deployment descriptor
>   +	 * (<code>web.xml</code>).</p>
>   +	 *
>   +	 * <p>For example, a parameter in the Turbine namespace would be
>   +	 * <code>org.apache.turbine.loggingRoot</code>.</p>
>   +	 */
>   +	String CONFIG_NAMESPACE = "org.apache.turbine";
>    
>   -    /** The key for the Log4J File */
>   -    String LOG4J_CONFIG_FILE = "log4j.file";
>   +	/** The key for the Log4J File */
>   +	String LOG4J_CONFIG_FILE = "log4j.file";
>    
>   -    /** The default value for the Log4J File */
>   -    String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
>   +	/** The default value for the Log4J File */
>   +	String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
>    
>   -    /** This is the default log file to be used for logging */
>   -    String DEFAULT_LOGGER = "turbine";
>   +	/** This is the default log file to be used for logging */
>   +	String DEFAULT_LOGGER = "turbine";
>    
>   -    /** The logging facility which captures output from the SchedulerService. */
>   -    String SCHEDULER_LOG_FACILITY = "scheduler";
>   +	/** The logging facility which captures output from the SchedulerService. */
>   +	String SCHEDULER_LOG_FACILITY = "scheduler";
>    
>   -    /** The SMTP server Turbine uses to send mail. */
>   -    String MAIL_SERVER_KEY = "mail.server";
>   +	/** The SMTP server Turbine uses to send mail. */
>   +	String MAIL_SERVER_KEY = "mail.server";
>    
>   -    /** Default Value for he SMTP server that Turbine uses to send mail. */
>   -    String MAIL_SERVER_DEFAULT = "localhost";
>   +	/** Default Value for he SMTP server that Turbine uses to send mail. */
>   +	String MAIL_SERVER_DEFAULT = "localhost";
>    
>   -    /** The Smtp sender address property */
>   -    String MAIL_SMTP_FROM = "mail.smtp.from";
>   +	/** The Smtp sender address property */
>   +	String MAIL_SMTP_FROM = "mail.smtp.from";
>    
>   -    /** Property that controls whether Turbine modules are cached or not. */
>   -    String MODULE_CACHE_KEY = "module.cache";
>   +	/** Property that controls whether Turbine modules are cached or not. */
>   +	String MODULE_CACHE_KEY = "module.cache";
>    
>   -    /** Default value of the Turbine Module Caching */
>   -    boolean MODULE_CACHE_DEFAULT = true;
>   +	/** Default value of the Turbine Module Caching */
>   +	boolean MODULE_CACHE_DEFAULT = true;
>    
>   -    /** Property for the size of the action cache if caching is on */
>   -    String ACTION_CACHE_SIZE_KEY = "action.cache.size";
>   +	/** Property for the size of the action cache if caching is on */
>   +	String ACTION_CACHE_SIZE_KEY = "action.cache.size";
>    
>   -    /** The default size for the action cache */
>   -    int ACTION_CACHE_SIZE_DEFAULT = 20;
>   +	/** The default size for the action cache */
>   +	int ACTION_CACHE_SIZE_DEFAULT = 20;
>    
>   -    /** Property for the size of the layout cache if caching is on */
>   -    String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
>   +	/** Property for the size of the layout cache if caching is on */
>   +	String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
>    
>   -    /** The default size for the layout cache */
>   -    int LAYOUT_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size for the layout cache */
>   +	int LAYOUT_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** Property for the size of the navigation cache if caching is on */
>   -    String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
>   +	/** Property for the size of the navigation cache if caching is on */
>   +	String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
>    
>   -    /** The default size for the navigation cache */
>   -    int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size for the navigation cache */
>   +	int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** Property for the size of the page cache if caching is on */
>   -    String PAGE_CACHE_SIZE_KEY = "page.cache.size";
>   +	/** Property for the size of the page cache if caching is on */
>   +	String PAGE_CACHE_SIZE_KEY = "page.cache.size";
>    
>   -    /** The default size for the page cache */
>   -    int PAGE_CACHE_SIZE_DEFAULT = 5;
>   +	/** The default size for the page cache */
>   +	int PAGE_CACHE_SIZE_DEFAULT = 5;
>    
>   -    /** Property for the size of the screen cache if caching is on */
>   -    String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
>   +	/** Property for the size of the screen cache if caching is on */
>   +	String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
>    
>   -    /** The default size for the screen cache */
>   -    int SCREEN_CACHE_SIZE_DEFAULT = 50;
>   +	/** The default size for the screen cache */
>   +	int SCREEN_CACHE_SIZE_DEFAULT = 50;
>    
>   -    /** The key for the schedulder job cache size if module caching is on. */
>   -    String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
>   +	/** The key for the schedulder job cache size if module caching is on. */
>   +	String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
>    
>   -    /** The default size of the schedulder job cache if module caching is on. */
>   -    int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size of the schedulder job cache if module caching is on. */
>   +	int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** The packages where Turbine will look for modules. */
>   -    String MODULE_PACKAGES = "module.packages";
>   +	/** The packages where Turbine will look for modules. */
>   +	String MODULE_PACKAGES = "module.packages";
>    
>   -    /** Home page template. */
>   -    String TEMPLATE_HOMEPAGE = "template.homepage";
>   +	/** Home page template. */
>   +	String TEMPLATE_HOMEPAGE = "template.homepage";
>    
>   -    /** Login template. */
>   -    String TEMPLATE_LOGIN = "template.login";
>   +	/** Login template. */
>   +	String TEMPLATE_LOGIN = "template.login";
>    
>   -    /** Template error template Property. */
>   -    String TEMPLATE_ERROR_KEY = "template.error";
>   +	/** Template error template Property. */
>   +	String TEMPLATE_ERROR_KEY = "template.error";
>    
>   -    /** Template error default for JSP */
>   -    String TEMPLATE_ERROR_JSP = "error.jsp";
>   +	/** Template error default for JSP */
>   +	String TEMPLATE_ERROR_JSP = "error.jsp";
>    
>   -    /** Template error default for Velocity */
>   -    String TEMPLATE_ERROR_VM = "error.vm";
>   +	/** Template error default for Velocity */
>   +	String TEMPLATE_ERROR_VM = "error.vm";
>    
>   -    /** Home page screen. */
>   -    String SCREEN_HOMEPAGE = "screen.homepage";
>   +	/** Home page screen. */
>   +	String SCREEN_HOMEPAGE = "screen.homepage";
>    
>   -    /** Login screen. */
>   -    String SCREEN_LOGIN = "screen.login";
>   +	/** Login screen. */
>   +	String SCREEN_LOGIN = "screen.login";
>    
>   -    /** Login error screen. */
>   -    String SCREEN_ERROR_KEY = "screen.error";
>   +	/** Login error screen. */
>   +	String SCREEN_ERROR_KEY = "screen.error";
>    
>   -    /** Default value for Login Screen */
>   -    String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
>   +	/** Default value for Login Screen */
>   +	String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
>    
>   -    /** Report Screen for invalid state in the application*/
>   -    String SCREEN_INVALID_STATE = "screen.invalidstate";
>   +	/** Report Screen for invalid state in the application*/
>   +	String SCREEN_INVALID_STATE = "screen.invalidstate";
>    
>   -    /** Report Template for invalid state in the application */
>   -    String TEMPLATE_INVALID_STATE = "template.invalidstate";
>   +	/** Report Template for invalid state in the application */
>   +	String TEMPLATE_INVALID_STATE = "template.invalidstate";
>    
>   -    /** Action to perform when a user logs in. */
>   -    String ACTION_LOGIN_KEY = "action.login";
>   +	/** Action to perform when a user logs in. */
>   +	String ACTION_LOGIN_KEY = "action.login";
>    
>   -    /** Default Value for login Action */
>   -    String ACTION_LOGIN_DEFAULT = "LoginUser";
>   +	/** Default Value for login Action */
>   +	String ACTION_LOGIN_DEFAULT = "LoginUser";
>    
>   -    /** Action to perform when a user logs out. */
>   -    String ACTION_LOGOUT_KEY = "action.logout";
>   +	/** Action to perform when a user logs out. */
>   +	String ACTION_LOGOUT_KEY = "action.logout";
>    
>   -    /** Default Value for ACTION_LOGOUT */
>   -    String ACTION_LOGOUT_DEFAULT = "LogoutUser";
>   +	/** Default Value for ACTION_LOGOUT */
>   +	String ACTION_LOGOUT_DEFAULT = "LogoutUser";
>    
>   -    /** Actions that performs session validation. */
>   -    String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
>   +	/** Actions that performs session validation. */
>   +	String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
>    
>   -    /** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
>   -    String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
>   +	/** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
>   +	String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
>    
>   -    /** Action that performs Access control */
>   -    String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
>   +	/** Action that performs Access control */
>   +	String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
>    
>   -    /** Default value for the access controller. (org.apache.modules.actions.AccessController) */
>   -    String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
>   +	/** Default value for the access controller. (org.apache.modules.actions.AccessController) */
>   +	String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
>    
>   -    /** Select whether an Action Event must have a non-zero value */
>   -    String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
>   +	/** Select whether an Action Event must have a non-zero value */
>   +	String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
>    
>   -    /** Default value for action.eventsubmit.needsvalue */
>   -    boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
>   +	/** Default value for action.eventsubmit.needsvalue */
>   +	boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
>    
>   -    /** Default layout. */
>   -    String LAYOUT_DEFAULT = "layout.default";
>   +	/** Select whether an exception in an Action method is bubbled up to Turbine.handleException() */
>   +	String ACTION_EVENT_BUBBLE_EXCEPTION_UP = "action.event.bubbleexception";
>    
>   -    /** Default page. */
>   -    String PAGE_DEFAULT_KEY = "page.default";
>   +	/** Default value for action.event.bubbleexception */
>   +	boolean ACTION_EVENT_BUBBLE_EXCEPTION_UP_DEFAULT = true;
>    
>   -    /** Default value for the Default Page */
>   -    String PAGE_DEFAULT_DEFAULT = "DefaultPage";
>   +	/** Default layout. */
>   +	String LAYOUT_DEFAULT = "layout.default";
>    
>   -    /** Default value for the Default Screen */
>   -    String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
>   +	/** Default page. */
>   +	String PAGE_DEFAULT_KEY = "page.default";
>    
>   -    /** Message to display upon successful login. */
>   -    String LOGIN_MESSAGE = "login.message";
>   +	/** Default value for the Default Page */
>   +	String PAGE_DEFAULT_DEFAULT = "DefaultPage";
>    
>   -    /** Message to display when a user fails to login. */
>   -    String LOGIN_ERROR = "login.error";
>   +	/** Default value for the Default Screen */
>   +	String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
>    
>   -    /** Message to display when screens variable invalid. */
>   -    String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
>   +	/** Message to display upon successful login. */
>   +	String LOGIN_MESSAGE = "login.message";
>    
>   -    /** Message to display when a user logs out. */
>   -    String LOGOUT_MESSAGE = "logout.message";
>   +	/** Message to display when a user fails to login. */
>   +	String LOGIN_ERROR = "login.error";
>    
>   -    /** Session Timeout */
>   -    String SESSION_TIMEOUT_KEY = "session.timeout";
>   +	/** Message to display when screens variable invalid. */
>   +	String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
>    
>   -    /** Session Timeout Default Value */
>   -    int SESSION_TIMEOUT_DEFAULT = -1;
>   +	/** Message to display when a user logs out. */
>   +	String LOGOUT_MESSAGE = "logout.message";
>    
>   -    /** Indicate whether this Turbine application is using SSL. */
>   -    String USE_SSL_KEY = "use.ssl";
>   +	/** Session Timeout */
>   +	String SESSION_TIMEOUT_KEY = "session.timeout";
>    
>   -    /** Default value for the SSL key */
>   -    boolean USE_SSL_DEFAULT = true;
>   +	/** Session Timeout Default Value */
>   +	int SESSION_TIMEOUT_DEFAULT = -1;
>    
>   -    /**
>   -     * Should the PP fold the case of everything. Possible values are
>   -     * "upper", "lower" and "none".
>   -     */
>   -    String PP_URL_CASE_FOLDING = "url.case.folding";
>   +	/** Indicate whether this Turbine application is using SSL. */
>   +	String USE_SSL_KEY = "use.ssl";
>    
>   -    /** Default document type. */
>   -    String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
>   +	/** Default value for the SSL key */
>   +	boolean USE_SSL_DEFAULT = true;
>    
>   -    /** Html 4.0 Transitional */
>   -    String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
>   -    /** Html 4.0 Strict */
>   -    String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
>   -    /** Html 4.0 Frameset */
>   -    String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
>   +	/**
>   +	 * Should the PP fold the case of everything. Possible values are
>   +	 * "upper", "lower" and "none".
>   +	 */
>   +	String PP_URL_CASE_FOLDING = "url.case.folding";
>    
>   -    /** Default doctype root element. */
>   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
>   -            = "default.html.doctype.root.element";
>   +	/** Default document type. */
>   +	String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
>    
>   -    /** Default value for the doctype root element */
>   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
>   -            = "HTML";
>   +	/** Html 4.0 Transitional */
>   +	String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
>   +	/** Html 4.0 Strict */
>   +	String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
>   +	/** Html 4.0 Frameset */
>   +	String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
>    
>   -    /** Default doctype dtd. */
>   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
>   -            = "default.html.doctype.identifier";
>   +	/** Default doctype root element. */
>   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
>   +			= "default.html.doctype.root.element";
>    
>   -    /** Default Doctype dtd value */
>   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
>   -            = "-//W3C//DTD HTML 4.01 Transitional//EN";
>   +	/** Default value for the doctype root element */
>   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
>   +			= "HTML";
>    
>   -    /** Default doctype url. */
>   -    String DEFAULT_HTML_DOCTYPE_URI_KEY 
>   -            = "default.html.doctype.url";
>   +	/** Default doctype dtd. */
>   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
>   +			= "default.html.doctype.identifier";
>    
>   -    /** Default doctype url value. */
>   -    String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
>   -            = "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
>   +	/** Default Doctype dtd value */
>   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
>   +			= "-//W3C//DTD HTML 4.01 Transitional//EN";
>    
>   -    /** Default Language property */
>   -    String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
>   +	/** Default doctype url. */
>   +	String DEFAULT_HTML_DOCTYPE_URI_KEY 
>   +			= "default.html.doctype.url";
>    
>   -    /** Default value for Language property */
>   -    String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
>   +	/** Default doctype url value. */
>   +	String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
>   +			= "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
>    
>   -    /** Default Country property */
>   -    String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
>   +	/** Default Language property */
>   +	String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
>    
>   -    /** Default value for Country property */
>   -    String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
>   +	/** Default value for Language property */
>   +	String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
>    
>   -    /** Default Charset property */
>   -    String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
>   +	/** Default Country property */
>   +	String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
>    
>   -    /** Default value for Charset property */
>   -    String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
>   +	/** Default value for Country property */
>   +	String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
>    
>   -    /** If this value is set as applicationRoot, then the webContext is used
>   -     * as application root
>   -     */
>   -    String WEB_CONTEXT = "webContext";
>   +	/** Default Charset property */
>   +	String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
>    
>   -    /** Key for the Path to the TurbineResources.properties File */
>   -    String APPLICATION_ROOT_KEY = "applicationRoot";
>   +	/** Default value for Charset property */
>   +	String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
>    
>   -    /** Default Value for the Path to the TurbineResources.properties File */
>   -    String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
>   +	/** If this value is set as applicationRoot, then the webContext is used
>   +	 * as application root
>   +	 */
>   +	String WEB_CONTEXT = "webContext";
>    
>   -    /** This is the key used in the Turbine.properties to access resources
>   -     * relative to the Web Application root. It might differ from the
>   -     * Application root, but the normal case is, that the webapp root
>   -     * and the application root point to the same path.
>   -     */
>   -    String WEBAPP_ROOT_KEY = "webappRoot";
>   +	/** Key for the Path to the TurbineResources.properties File */
>   +	String APPLICATION_ROOT_KEY = "applicationRoot";
>    
>   -    /** The Key in the deployment descriptor for the Logging Directory */
>   -    String LOGGING_ROOT_KEY = "loggingRoot";
>   +	/** Default Value for the Path to the TurbineResources.properties File */
>   +	String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
>    
>   -    /** Default Value for the Logging Directory, relative to the webroot */
>   -    String LOGGING_ROOT_DEFAULT = "/logs";
>   +	/** This is the key used in the Turbine.properties to access resources
>   +	 * relative to the Web Application root. It might differ from the
>   +	 * Application root, but the normal case is, that the webapp root
>   +	 * and the application root point to the same path.
>   +	 */
>   +	String WEBAPP_ROOT_KEY = "webappRoot";
>    
>   -    /** Key for loading the UUID Generator with a constant value */
>   -    String UUID_ADDRESS_KEY = "uuid.address";
>   +	/** The Key in the deployment descriptor for the Logging Directory */
>   +	String LOGGING_ROOT_KEY = "loggingRoot";
>    
>   -    /** Context Key for the screen placeholder in the various velocity layouts */
>   -    String SCREEN_PLACEHOLDER = "screen_placeholder";
>   +	/** Default Value for the Logging Directory, relative to the webroot */
>   +	String LOGGING_ROOT_DEFAULT = "/logs";
>    
>   -    /** Context Key for the navigation object placeholder in the various velocity layouts */
>   -    String NAVIGATION_PLACEHOLDER = "navigation";
>   +	/** Key for loading the UUID Generator with a constant value */
>   +	String UUID_ADDRESS_KEY = "uuid.address";
>    
>   -    /** Context Key for the Processing Exception */
>   -    String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
>   +	/** Context Key for the screen placeholder in the various velocity layouts */
>   +	String SCREEN_PLACEHOLDER = "screen_placeholder";
>    
>   -    /** Context Key for the Stack Trace */
>   -    String STACK_TRACE_PLACEHOLDER = "stackTrace";
>   +	/** Context Key for the navigation object placeholder in the various velocity layouts */
>   +	String NAVIGATION_PLACEHOLDER = "navigation";
>    
>   -    /** Prefix for layout related classes and templates */
>   -    String LAYOUT_PREFIX = "layouts";
>   +	/** Context Key for the Processing Exception */
>   +	String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
>    
>   -    /** Prefix for screen related classes and templates */
>   -    String SCREEN_PREFIX = "screens";
>   +	/** Context Key for the Stack Trace */
>   +	String STACK_TRACE_PLACEHOLDER = "stackTrace";
>    
>   -    /** Prefix for navigation related classes and templates */
>   -    String NAVIGATION_PREFIX = "navigations";
>   +	/** Prefix for layout related classes and templates */
>   +	String LAYOUT_PREFIX = "layouts";
>    
>   -    /** Prefix for action related classes and templates */
>   -    String ACTION_PREFIX = "actions";
>   +	/** Prefix for screen related classes and templates */
>   +	String SCREEN_PREFIX = "screens";
>    
>   -    /** Prefix for page related classes and templates */
>   -    String PAGE_PREFIX = "pages";
>   +	/** Prefix for navigation related classes and templates */
>   +	String NAVIGATION_PREFIX = "navigations";
>    
>   -    /** Prefix for scheduler job related classes */
>   -    String SCHEDULEDJOB_PREFIX = "scheduledjobs";
>   +	/** Prefix for action related classes and templates */
>   +	String ACTION_PREFIX = "actions";
>   +
>   +	/** Prefix for page related classes and templates */
>   +	String PAGE_PREFIX = "pages";
>   +
>   +	/** Prefix for scheduler job related classes */
>   +	String SCHEDULEDJOB_PREFIX = "scheduledjobs";
>    }



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine TurbineConstants.java

Posted by "Daniel L. Rall" <dl...@finemaltcoding.com>.
Eric, does this commit introduce tabs, or is that just my new email client?

Also, I'd prefer that the placement of the word "default" in these constant 
names be consistent (either at the beginning or end, not a mix).  I see both
DEFAULT_LOGGER and SCREEN_CACHE_SIZE_DEFAULT -- I recommend deprecating some 
of the old names in favor of a consistent style.


epugh@apache.org wrote:
> epugh       2003/09/26 12:18:22
> 
>   Modified:    src/java/org/apache/turbine TurbineConstants.java
>   Log:
>   Missing constants from last commit.  Needed for bubbleexceptions in ActionEvents...
>   
>   Revision  Changes    Path
>   1.27      +211 -205  jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java
>   
>   Index: TurbineConstants.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/TurbineConstants.java,v
>   retrieving revision 1.26
>   retrieving revision 1.27
>   diff -u -r1.26 -r1.27
>   --- TurbineConstants.java	3 Sep 2003 09:14:39 -0000	1.26
>   +++ TurbineConstants.java	26 Sep 2003 19:18:22 -0000	1.27
>   @@ -65,295 +65,301 @@
>     */
>    public interface TurbineConstants
>    {
>   -    /**
>   -     * <p>The prefix used to denote the namespace reserved for and
>   -     * used by Turbine-specific configuration parameters (such as
>   -     * those passed in via servlet container's config file
>   -     * (<code>server.xml</code>), or the web app deployment descriptor
>   -     * (<code>web.xml</code>).</p>
>   -     *
>   -     * <p>For example, a parameter in the Turbine namespace would be
>   -     * <code>org.apache.turbine.loggingRoot</code>.</p>
>   -     */
>   -    String CONFIG_NAMESPACE = "org.apache.turbine";
>   +	/**
>   +	 * <p>The prefix used to denote the namespace reserved for and
>   +	 * used by Turbine-specific configuration parameters (such as
>   +	 * those passed in via servlet container's config file
>   +	 * (<code>server.xml</code>), or the web app deployment descriptor
>   +	 * (<code>web.xml</code>).</p>
>   +	 *
>   +	 * <p>For example, a parameter in the Turbine namespace would be
>   +	 * <code>org.apache.turbine.loggingRoot</code>.</p>
>   +	 */
>   +	String CONFIG_NAMESPACE = "org.apache.turbine";
>    
>   -    /** The key for the Log4J File */
>   -    String LOG4J_CONFIG_FILE = "log4j.file";
>   +	/** The key for the Log4J File */
>   +	String LOG4J_CONFIG_FILE = "log4j.file";
>    
>   -    /** The default value for the Log4J File */
>   -    String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
>   +	/** The default value for the Log4J File */
>   +	String LOG4J_CONFIG_FILE_DEFAULT = "/WEB-INF/conf/Log4j.properties";
>    
>   -    /** This is the default log file to be used for logging */
>   -    String DEFAULT_LOGGER = "turbine";
>   +	/** This is the default log file to be used for logging */
>   +	String DEFAULT_LOGGER = "turbine";
>    
>   -    /** The logging facility which captures output from the SchedulerService. */
>   -    String SCHEDULER_LOG_FACILITY = "scheduler";
>   +	/** The logging facility which captures output from the SchedulerService. */
>   +	String SCHEDULER_LOG_FACILITY = "scheduler";
>    
>   -    /** The SMTP server Turbine uses to send mail. */
>   -    String MAIL_SERVER_KEY = "mail.server";
>   +	/** The SMTP server Turbine uses to send mail. */
>   +	String MAIL_SERVER_KEY = "mail.server";
>    
>   -    /** Default Value for he SMTP server that Turbine uses to send mail. */
>   -    String MAIL_SERVER_DEFAULT = "localhost";
>   +	/** Default Value for he SMTP server that Turbine uses to send mail. */
>   +	String MAIL_SERVER_DEFAULT = "localhost";
>    
>   -    /** The Smtp sender address property */
>   -    String MAIL_SMTP_FROM = "mail.smtp.from";
>   +	/** The Smtp sender address property */
>   +	String MAIL_SMTP_FROM = "mail.smtp.from";
>    
>   -    /** Property that controls whether Turbine modules are cached or not. */
>   -    String MODULE_CACHE_KEY = "module.cache";
>   +	/** Property that controls whether Turbine modules are cached or not. */
>   +	String MODULE_CACHE_KEY = "module.cache";
>    
>   -    /** Default value of the Turbine Module Caching */
>   -    boolean MODULE_CACHE_DEFAULT = true;
>   +	/** Default value of the Turbine Module Caching */
>   +	boolean MODULE_CACHE_DEFAULT = true;
>    
>   -    /** Property for the size of the action cache if caching is on */
>   -    String ACTION_CACHE_SIZE_KEY = "action.cache.size";
>   +	/** Property for the size of the action cache if caching is on */
>   +	String ACTION_CACHE_SIZE_KEY = "action.cache.size";
>    
>   -    /** The default size for the action cache */
>   -    int ACTION_CACHE_SIZE_DEFAULT = 20;
>   +	/** The default size for the action cache */
>   +	int ACTION_CACHE_SIZE_DEFAULT = 20;
>    
>   -    /** Property for the size of the layout cache if caching is on */
>   -    String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
>   +	/** Property for the size of the layout cache if caching is on */
>   +	String LAYOUT_CACHE_SIZE_KEY = "layout.cache.size";
>    
>   -    /** The default size for the layout cache */
>   -    int LAYOUT_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size for the layout cache */
>   +	int LAYOUT_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** Property for the size of the navigation cache if caching is on */
>   -    String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
>   +	/** Property for the size of the navigation cache if caching is on */
>   +	String NAVIGATION_CACHE_SIZE_KEY = "navigation.cache.size";
>    
>   -    /** The default size for the navigation cache */
>   -    int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size for the navigation cache */
>   +	int NAVIGATION_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** Property for the size of the page cache if caching is on */
>   -    String PAGE_CACHE_SIZE_KEY = "page.cache.size";
>   +	/** Property for the size of the page cache if caching is on */
>   +	String PAGE_CACHE_SIZE_KEY = "page.cache.size";
>    
>   -    /** The default size for the page cache */
>   -    int PAGE_CACHE_SIZE_DEFAULT = 5;
>   +	/** The default size for the page cache */
>   +	int PAGE_CACHE_SIZE_DEFAULT = 5;
>    
>   -    /** Property for the size of the screen cache if caching is on */
>   -    String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
>   +	/** Property for the size of the screen cache if caching is on */
>   +	String SCREEN_CACHE_SIZE_KEY = "screen.cache.size";
>    
>   -    /** The default size for the screen cache */
>   -    int SCREEN_CACHE_SIZE_DEFAULT = 50;
>   +	/** The default size for the screen cache */
>   +	int SCREEN_CACHE_SIZE_DEFAULT = 50;
>    
>   -    /** The key for the schedulder job cache size if module caching is on. */
>   -    String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
>   +	/** The key for the schedulder job cache size if module caching is on. */
>   +	String SCHEDULED_JOB_CACHE_SIZE_KEY = "scheduledjob.cache.size";
>    
>   -    /** The default size of the schedulder job cache if module caching is on. */
>   -    int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
>   +	/** The default size of the schedulder job cache if module caching is on. */
>   +	int SCHEDULED_JOB_CACHE_SIZE_DEFAULT = 10;
>    
>   -    /** The packages where Turbine will look for modules. */
>   -    String MODULE_PACKAGES = "module.packages";
>   +	/** The packages where Turbine will look for modules. */
>   +	String MODULE_PACKAGES = "module.packages";
>    
>   -    /** Home page template. */
>   -    String TEMPLATE_HOMEPAGE = "template.homepage";
>   +	/** Home page template. */
>   +	String TEMPLATE_HOMEPAGE = "template.homepage";
>    
>   -    /** Login template. */
>   -    String TEMPLATE_LOGIN = "template.login";
>   +	/** Login template. */
>   +	String TEMPLATE_LOGIN = "template.login";
>    
>   -    /** Template error template Property. */
>   -    String TEMPLATE_ERROR_KEY = "template.error";
>   +	/** Template error template Property. */
>   +	String TEMPLATE_ERROR_KEY = "template.error";
>    
>   -    /** Template error default for JSP */
>   -    String TEMPLATE_ERROR_JSP = "error.jsp";
>   +	/** Template error default for JSP */
>   +	String TEMPLATE_ERROR_JSP = "error.jsp";
>    
>   -    /** Template error default for Velocity */
>   -    String TEMPLATE_ERROR_VM = "error.vm";
>   +	/** Template error default for Velocity */
>   +	String TEMPLATE_ERROR_VM = "error.vm";
>    
>   -    /** Home page screen. */
>   -    String SCREEN_HOMEPAGE = "screen.homepage";
>   +	/** Home page screen. */
>   +	String SCREEN_HOMEPAGE = "screen.homepage";
>    
>   -    /** Login screen. */
>   -    String SCREEN_LOGIN = "screen.login";
>   +	/** Login screen. */
>   +	String SCREEN_LOGIN = "screen.login";
>    
>   -    /** Login error screen. */
>   -    String SCREEN_ERROR_KEY = "screen.error";
>   +	/** Login error screen. */
>   +	String SCREEN_ERROR_KEY = "screen.error";
>    
>   -    /** Default value for Login Screen */
>   -    String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
>   +	/** Default value for Login Screen */
>   +	String SCREEN_ERROR_DEFAULT = "VelocityErrorScreen";
>    
>   -    /** Report Screen for invalid state in the application*/
>   -    String SCREEN_INVALID_STATE = "screen.invalidstate";
>   +	/** Report Screen for invalid state in the application*/
>   +	String SCREEN_INVALID_STATE = "screen.invalidstate";
>    
>   -    /** Report Template for invalid state in the application */
>   -    String TEMPLATE_INVALID_STATE = "template.invalidstate";
>   +	/** Report Template for invalid state in the application */
>   +	String TEMPLATE_INVALID_STATE = "template.invalidstate";
>    
>   -    /** Action to perform when a user logs in. */
>   -    String ACTION_LOGIN_KEY = "action.login";
>   +	/** Action to perform when a user logs in. */
>   +	String ACTION_LOGIN_KEY = "action.login";
>    
>   -    /** Default Value for login Action */
>   -    String ACTION_LOGIN_DEFAULT = "LoginUser";
>   +	/** Default Value for login Action */
>   +	String ACTION_LOGIN_DEFAULT = "LoginUser";
>    
>   -    /** Action to perform when a user logs out. */
>   -    String ACTION_LOGOUT_KEY = "action.logout";
>   +	/** Action to perform when a user logs out. */
>   +	String ACTION_LOGOUT_KEY = "action.logout";
>    
>   -    /** Default Value for ACTION_LOGOUT */
>   -    String ACTION_LOGOUT_DEFAULT = "LogoutUser";
>   +	/** Default Value for ACTION_LOGOUT */
>   +	String ACTION_LOGOUT_DEFAULT = "LogoutUser";
>    
>   -    /** Actions that performs session validation. */
>   -    String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
>   +	/** Actions that performs session validation. */
>   +	String ACTION_SESSION_VALIDATOR_KEY = "action.sessionvalidator";
>    
>   -    /** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
>   -    String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
>   +	/** Default value for the session validator. (org.apache.modules.actions.sessionvalidator.TemplateSessionValidator) */
>   +	String ACTION_SESSION_VALIDATOR_DEFAULT = "sessionvalidator.TemplateSessionValidator";
>    
>   -    /** Action that performs Access control */
>   -    String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
>   +	/** Action that performs Access control */
>   +	String ACTION_ACCESS_CONTROLLER_KEY = "action.accesscontroller";
>    
>   -    /** Default value for the access controller. (org.apache.modules.actions.AccessController) */
>   -    String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
>   +	/** Default value for the access controller. (org.apache.modules.actions.AccessController) */
>   +	String ACTION_ACCESS_CONTROLLER_DEFAULT = "AccessController";
>    
>   -    /** Select whether an Action Event must have a non-zero value */
>   -    String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
>   +	/** Select whether an Action Event must have a non-zero value */
>   +	String ACTION_EVENTSUBMIT_NEEDSVALUE_KEY = "action.eventsubmit.needsvalue";
>    
>   -    /** Default value for action.eventsubmit.needsvalue */
>   -    boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
>   +	/** Default value for action.eventsubmit.needsvalue */
>   +	boolean ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT = false;
>    
>   -    /** Default layout. */
>   -    String LAYOUT_DEFAULT = "layout.default";
>   +	/** Select whether an exception in an Action method is bubbled up to Turbine.handleException() */
>   +	String ACTION_EVENT_BUBBLE_EXCEPTION_UP = "action.event.bubbleexception";
>    
>   -    /** Default page. */
>   -    String PAGE_DEFAULT_KEY = "page.default";
>   +	/** Default value for action.event.bubbleexception */
>   +	boolean ACTION_EVENT_BUBBLE_EXCEPTION_UP_DEFAULT = true;
>    
>   -    /** Default value for the Default Page */
>   -    String PAGE_DEFAULT_DEFAULT = "DefaultPage";
>   +	/** Default layout. */
>   +	String LAYOUT_DEFAULT = "layout.default";
>    
>   -    /** Default value for the Default Screen */
>   -    String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
>   +	/** Default page. */
>   +	String PAGE_DEFAULT_KEY = "page.default";
>    
>   -    /** Message to display upon successful login. */
>   -    String LOGIN_MESSAGE = "login.message";
>   +	/** Default value for the Default Page */
>   +	String PAGE_DEFAULT_DEFAULT = "DefaultPage";
>    
>   -    /** Message to display when a user fails to login. */
>   -    String LOGIN_ERROR = "login.error";
>   +	/** Default value for the Default Screen */
>   +	String SCREEN_DEFAULT_DEFAULT = "DefaultScreen";
>    
>   -    /** Message to display when screens variable invalid. */
>   -    String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
>   +	/** Message to display upon successful login. */
>   +	String LOGIN_MESSAGE = "login.message";
>    
>   -    /** Message to display when a user logs out. */
>   -    String LOGOUT_MESSAGE = "logout.message";
>   +	/** Message to display when a user fails to login. */
>   +	String LOGIN_ERROR = "login.error";
>    
>   -    /** Session Timeout */
>   -    String SESSION_TIMEOUT_KEY = "session.timeout";
>   +	/** Message to display when screens variable invalid. */
>   +	String LOGIN_MESSAGE_NOSCREEN = "login.message.noscreen";
>    
>   -    /** Session Timeout Default Value */
>   -    int SESSION_TIMEOUT_DEFAULT = -1;
>   +	/** Message to display when a user logs out. */
>   +	String LOGOUT_MESSAGE = "logout.message";
>    
>   -    /** Indicate whether this Turbine application is using SSL. */
>   -    String USE_SSL_KEY = "use.ssl";
>   +	/** Session Timeout */
>   +	String SESSION_TIMEOUT_KEY = "session.timeout";
>    
>   -    /** Default value for the SSL key */
>   -    boolean USE_SSL_DEFAULT = true;
>   +	/** Session Timeout Default Value */
>   +	int SESSION_TIMEOUT_DEFAULT = -1;
>    
>   -    /**
>   -     * Should the PP fold the case of everything. Possible values are
>   -     * "upper", "lower" and "none".
>   -     */
>   -    String PP_URL_CASE_FOLDING = "url.case.folding";
>   +	/** Indicate whether this Turbine application is using SSL. */
>   +	String USE_SSL_KEY = "use.ssl";
>    
>   -    /** Default document type. */
>   -    String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
>   +	/** Default value for the SSL key */
>   +	boolean USE_SSL_DEFAULT = true;
>    
>   -    /** Html 4.0 Transitional */
>   -    String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
>   -    /** Html 4.0 Strict */
>   -    String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
>   -    /** Html 4.0 Frameset */
>   -    String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
>   +	/**
>   +	 * Should the PP fold the case of everything. Possible values are
>   +	 * "upper", "lower" and "none".
>   +	 */
>   +	String PP_URL_CASE_FOLDING = "url.case.folding";
>    
>   -    /** Default doctype root element. */
>   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
>   -            = "default.html.doctype.root.element";
>   +	/** Default document type. */
>   +	String DEFAULT_DOCUMENT_TYPE_KEY = "default.doctype";
>    
>   -    /** Default value for the doctype root element */
>   -    String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
>   -            = "HTML";
>   +	/** Html 4.0 Transitional */
>   +	String DOCUMENT_TYPE_HTML40TRANSITIONAL = "Html40Transitional";
>   +	/** Html 4.0 Strict */
>   +	String DOCUMENT_TYPE_HTML40STRICT = "Html40Strict";
>   +	/** Html 4.0 Frameset */
>   +	String DOCUMENT_TYPE_HTML40FRAMESET = "Html40Frameset";
>    
>   -    /** Default doctype dtd. */
>   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
>   -            = "default.html.doctype.identifier";
>   +	/** Default doctype root element. */
>   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_KEY 
>   +			= "default.html.doctype.root.element";
>    
>   -    /** Default Doctype dtd value */
>   -    String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
>   -            = "-//W3C//DTD HTML 4.01 Transitional//EN";
>   +	/** Default value for the doctype root element */
>   +	String DEFAULT_HTML_DOCTYPE_ROOT_ELEMENT_DEFAULT
>   +			= "HTML";
>    
>   -    /** Default doctype url. */
>   -    String DEFAULT_HTML_DOCTYPE_URI_KEY 
>   -            = "default.html.doctype.url";
>   +	/** Default doctype dtd. */
>   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_KEY 
>   +			= "default.html.doctype.identifier";
>    
>   -    /** Default doctype url value. */
>   -    String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
>   -            = "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
>   +	/** Default Doctype dtd value */
>   +	String DEFAULT_HTML_DOCTYPE_IDENTIFIER_DEFAULT
>   +			= "-//W3C//DTD HTML 4.01 Transitional//EN";
>    
>   -    /** Default Language property */
>   -    String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
>   +	/** Default doctype url. */
>   +	String DEFAULT_HTML_DOCTYPE_URI_KEY 
>   +			= "default.html.doctype.url";
>    
>   -    /** Default value for Language property */
>   -    String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
>   +	/** Default doctype url value. */
>   +	String DEFAULT_HTML_DOCTYPE_URI_DEFAULT
>   +			= "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd";
>    
>   -    /** Default Country property */
>   -    String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
>   +	/** Default Language property */
>   +	String LOCALE_DEFAULT_LANGUAGE_KEY = "locale.default.language";
>    
>   -    /** Default value for Country property */
>   -    String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
>   +	/** Default value for Language property */
>   +	String LOCALE_DEFAULT_LANGUAGE_DEFAULT = "en";
>    
>   -    /** Default Charset property */
>   -    String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
>   +	/** Default Country property */
>   +	String LOCALE_DEFAULT_COUNTRY_KEY = "locale.default.country";
>    
>   -    /** Default value for Charset property */
>   -    String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
>   +	/** Default value for Country property */
>   +	String LOCALE_DEFAULT_COUNTRY_DEFAULT = "US";
>    
>   -    /** If this value is set as applicationRoot, then the webContext is used
>   -     * as application root
>   -     */
>   -    String WEB_CONTEXT = "webContext";
>   +	/** Default Charset property */
>   +	String LOCALE_DEFAULT_CHARSET_KEY = "locale.default.charset";
>    
>   -    /** Key for the Path to the TurbineResources.properties File */
>   -    String APPLICATION_ROOT_KEY = "applicationRoot";
>   +	/** Default value for Charset property */
>   +	String LOCALE_DEFAULT_CHARSET_DEFAULT = "ISO-8859-1";
>    
>   -    /** Default Value for the Path to the TurbineResources.properties File */
>   -    String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
>   +	/** If this value is set as applicationRoot, then the webContext is used
>   +	 * as application root
>   +	 */
>   +	String WEB_CONTEXT = "webContext";
>    
>   -    /** This is the key used in the Turbine.properties to access resources
>   -     * relative to the Web Application root. It might differ from the
>   -     * Application root, but the normal case is, that the webapp root
>   -     * and the application root point to the same path.
>   -     */
>   -    String WEBAPP_ROOT_KEY = "webappRoot";
>   +	/** Key for the Path to the TurbineResources.properties File */
>   +	String APPLICATION_ROOT_KEY = "applicationRoot";
>    
>   -    /** The Key in the deployment descriptor for the Logging Directory */
>   -    String LOGGING_ROOT_KEY = "loggingRoot";
>   +	/** Default Value for the Path to the TurbineResources.properties File */
>   +	String APPLICATION_ROOT_DEFAULT = WEB_CONTEXT;
>    
>   -    /** Default Value for the Logging Directory, relative to the webroot */
>   -    String LOGGING_ROOT_DEFAULT = "/logs";
>   +	/** This is the key used in the Turbine.properties to access resources
>   +	 * relative to the Web Application root. It might differ from the
>   +	 * Application root, but the normal case is, that the webapp root
>   +	 * and the application root point to the same path.
>   +	 */
>   +	String WEBAPP_ROOT_KEY = "webappRoot";
>    
>   -    /** Key for loading the UUID Generator with a constant value */
>   -    String UUID_ADDRESS_KEY = "uuid.address";
>   +	/** The Key in the deployment descriptor for the Logging Directory */
>   +	String LOGGING_ROOT_KEY = "loggingRoot";
>    
>   -    /** Context Key for the screen placeholder in the various velocity layouts */
>   -    String SCREEN_PLACEHOLDER = "screen_placeholder";
>   +	/** Default Value for the Logging Directory, relative to the webroot */
>   +	String LOGGING_ROOT_DEFAULT = "/logs";
>    
>   -    /** Context Key for the navigation object placeholder in the various velocity layouts */
>   -    String NAVIGATION_PLACEHOLDER = "navigation";
>   +	/** Key for loading the UUID Generator with a constant value */
>   +	String UUID_ADDRESS_KEY = "uuid.address";
>    
>   -    /** Context Key for the Processing Exception */
>   -    String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
>   +	/** Context Key for the screen placeholder in the various velocity layouts */
>   +	String SCREEN_PLACEHOLDER = "screen_placeholder";
>    
>   -    /** Context Key for the Stack Trace */
>   -    String STACK_TRACE_PLACEHOLDER = "stackTrace";
>   +	/** Context Key for the navigation object placeholder in the various velocity layouts */
>   +	String NAVIGATION_PLACEHOLDER = "navigation";
>    
>   -    /** Prefix for layout related classes and templates */
>   -    String LAYOUT_PREFIX = "layouts";
>   +	/** Context Key for the Processing Exception */
>   +	String PROCESSING_EXCEPTION_PLACEHOLDER = "processingException";
>    
>   -    /** Prefix for screen related classes and templates */
>   -    String SCREEN_PREFIX = "screens";
>   +	/** Context Key for the Stack Trace */
>   +	String STACK_TRACE_PLACEHOLDER = "stackTrace";
>    
>   -    /** Prefix for navigation related classes and templates */
>   -    String NAVIGATION_PREFIX = "navigations";
>   +	/** Prefix for layout related classes and templates */
>   +	String LAYOUT_PREFIX = "layouts";
>    
>   -    /** Prefix for action related classes and templates */
>   -    String ACTION_PREFIX = "actions";
>   +	/** Prefix for screen related classes and templates */
>   +	String SCREEN_PREFIX = "screens";
>    
>   -    /** Prefix for page related classes and templates */
>   -    String PAGE_PREFIX = "pages";
>   +	/** Prefix for navigation related classes and templates */
>   +	String NAVIGATION_PREFIX = "navigations";
>    
>   -    /** Prefix for scheduler job related classes */
>   -    String SCHEDULEDJOB_PREFIX = "scheduledjobs";
>   +	/** Prefix for action related classes and templates */
>   +	String ACTION_PREFIX = "actions";
>   +
>   +	/** Prefix for page related classes and templates */
>   +	String PAGE_PREFIX = "pages";
>   +
>   +	/** Prefix for scheduler job related classes */
>   +	String SCHEDULEDJOB_PREFIX = "scheduledjobs";
>    }