net.sf.springlayout.web.util
Class WebConstants

java.lang.Object
  extended by net.sf.springlayout.web.util.WebConstants

public class WebConstants
extends java.lang.Object

General constant values used for general web related purposes

Author:
Rob Monie

Field Summary
static java.lang.String BEAN_WRAPPER
          Name of the request parameter used to hold the bean wrapper for the current command.
static java.lang.String COMMAND_DIRTY
          Name of the parameter key used to maintain if the current command object has been altered since it was loaded.
static java.lang.String COMMAND_NAME
          Name of the attribute holding the command object
static java.lang.String CURRENT_FIELD_STATUS
          Name of the pageContext attribute holding the current field object status
static java.lang.String CURRENT_FORM
          Name of the pageContext attribute holding the current form object
static java.lang.String CURRENT_MODULE
          Name of the attribute holding the current module name
static java.lang.String CURRENT_USER
          name of the attribute holding the currentUser in the request
static java.lang.String CURRENTLY_VALIDATING
          Name of the request parameter used to determine whether currently validating or not.
static java.lang.Object DEFAULT_FIELD_NAME
           
static java.lang.String DO_SAVE
          Name of the paramter key used to determine if the user has selected to save the record based on the confirmation from a dirty check.
static java.lang.String EDIT_MODE_DEFAULT
          Default edit mode if not set by controller
static java.lang.String EDIT_MODE_PARAM
          Name of the request parameter used to determine edit mode.
static java.lang.String ERRORS
          Name of request attribute holding errors for display in UI
static java.lang.String FORM_END_JAVASCRIPT
          Page context attribute for building up js to be rendered at the end of a form
static java.lang.String LAYOUT_FORM_TAG
          Page Context attribute holding the currently rendering form tag
static java.lang.String MESSAGES
          Name of request attribute holding messages for display in UI
static java.lang.String PRINT_PARAMETER
          Name of the parameter used to determine whether to display as printable.
static java.lang.String RECORD_ID_PARAM
          Name of the request parameter used to determine a record id.
static java.lang.String SCREEN_POSITION_PARAM
          The name of the field used to hold the position of the screen to be returned to after a post back.
static java.lang.String SHOW_LOADING_MESSAGE
          Request attribute to indicate whether the loading message should be shown on the current page.
static java.lang.String STATE_MAP
          Name of the map which contains the current query details
static java.lang.String TARGET_PANEL_PARAM
          Request attribute to hold the target panel when changing panels on a multi-page form
static java.lang.String VALIDATE_MODE_PARAM
          Name of the request parameter used to determine validation mode.
static java.lang.String VALIDATION_MODE_DEFAULT
          Name of the request parameter used to set the validation mode if it has not been set explicitly in the Request parameters.
 
Constructor Summary
WebConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGES

public static final java.lang.String MESSAGES
Name of request attribute holding messages for display in UI

See Also:
Constant Field Values

ERRORS

public static final java.lang.String ERRORS
Name of request attribute holding errors for display in UI

See Also:
Constant Field Values

CURRENT_FORM

public static final java.lang.String CURRENT_FORM
Name of the pageContext attribute holding the current form object

See Also:
Constant Field Values

CURRENT_FIELD_STATUS

public static final java.lang.String CURRENT_FIELD_STATUS
Name of the pageContext attribute holding the current field object status

See Also:
Constant Field Values

CURRENT_USER

public static final java.lang.String CURRENT_USER
name of the attribute holding the currentUser in the request

See Also:
Constant Field Values

COMMAND_NAME

public static final java.lang.String COMMAND_NAME
Name of the attribute holding the command object

See Also:
Constant Field Values

CURRENT_MODULE

public static final java.lang.String CURRENT_MODULE
Name of the attribute holding the current module name

See Also:
Constant Field Values

CURRENTLY_VALIDATING

public static final java.lang.String CURRENTLY_VALIDATING
Name of the request parameter used to determine whether currently validating or not.

See Also:
Constant Field Values

EDIT_MODE_PARAM

public static final java.lang.String EDIT_MODE_PARAM
Name of the request parameter used to determine edit mode. This should not be used directly by application code. The PAGE_ACCESS_HOLDER should be used instead.

See Also:
Constant Field Values

VALIDATE_MODE_PARAM

public static final java.lang.String VALIDATE_MODE_PARAM
Name of the request parameter used to determine validation mode.

See Also:
Constant Field Values

EDIT_MODE_DEFAULT

public static final java.lang.String EDIT_MODE_DEFAULT
Default edit mode if not set by controller

See Also:
Constant Field Values

VALIDATION_MODE_DEFAULT

public static final java.lang.String VALIDATION_MODE_DEFAULT
Name of the request parameter used to set the validation mode if it has not been set explicitly in the Request parameters.

See Also:
Constant Field Values

BEAN_WRAPPER

public static final java.lang.String BEAN_WRAPPER
Name of the request parameter used to hold the bean wrapper for the current command.

See Also:
Constant Field Values

RECORD_ID_PARAM

public static final java.lang.String RECORD_ID_PARAM
Name of the request parameter used to determine a record id.

See Also:
Constant Field Values

STATE_MAP

public static final java.lang.String STATE_MAP
Name of the map which contains the current query details

See Also:
Constant Field Values

SCREEN_POSITION_PARAM

public static final java.lang.String SCREEN_POSITION_PARAM
The name of the field used to hold the position of the screen to be returned to after a post back.

See Also:
Constant Field Values

COMMAND_DIRTY

public static final java.lang.String COMMAND_DIRTY
Name of the parameter key used to maintain if the current command object has been altered since it was loaded.

See Also:
Constant Field Values

DO_SAVE

public static final java.lang.String DO_SAVE
Name of the paramter key used to determine if the user has selected to save the record based on the confirmation from a dirty check.

See Also:
Constant Field Values

PRINT_PARAMETER

public static final java.lang.String PRINT_PARAMETER
Name of the parameter used to determine whether to display as printable.

See Also:
Constant Field Values

DEFAULT_FIELD_NAME

public static final java.lang.Object DEFAULT_FIELD_NAME

SHOW_LOADING_MESSAGE

public static final java.lang.String SHOW_LOADING_MESSAGE
Request attribute to indicate whether the loading message should be shown on the current page.

See Also:
Constant Field Values

TARGET_PANEL_PARAM

public static final java.lang.String TARGET_PANEL_PARAM
Request attribute to hold the target panel when changing panels on a multi-page form

See Also:
Constant Field Values

LAYOUT_FORM_TAG

public static final java.lang.String LAYOUT_FORM_TAG
Page Context attribute holding the currently rendering form tag

See Also:
Constant Field Values

FORM_END_JAVASCRIPT

public static final java.lang.String FORM_END_JAVASCRIPT
Page context attribute for building up js to be rendered at the end of a form

See Also:
Constant Field Values
Constructor Detail

WebConstants

public WebConstants()


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.