org.andromda.cartridges.jsf
Class JSFGlobals

java.lang.Object
  extended by org.andromda.cartridges.jsf.JSFGlobals

public class JSFGlobals
extends java.lang.Object

Stores globals for the JSF cartridge metafacades.

Author:
Chad Brandon

Field Summary
static java.lang.String ACTION_FORM_KEY
          The default key under which the action form is stored.
static java.lang.String ACTION_TYPE_FORM
          Represents a form action type.
static java.lang.String ACTION_TYPE_HYPERLINK
          Represents a hyperlink action type.
static java.lang.String ACTION_TYPE_IMAGE
          Represents an image action type.
static java.lang.String ACTION_TYPE_TABLE
          Represents a table action type.
static java.lang.String BACKING_LIST_PATTERN
          The pattern used for constructing a parameter's backing list name.
static java.lang.String BACKING_VALUE_PATTERN
          The pattern used for constructing a parameter's backing value name.
static java.lang.String CONTROLLER_IMPLEMENTATION_PATTERN
          Stores the pattern used for constructing the controller implementation name.
static java.lang.String CONVERTER_PATTERN
          The pattern used for constructing the name of JSF converter classes (i.e.
static java.lang.String DEFAULT_ACTION_REDIRECT
          Contains the default value for whether or not all forwards should perform a HTTP redirect or not.
static java.lang.String DOCUMENTATION_MESSAGE_KEY_SUFFIX
          The suffix given to the documentation message keys.
static int DUMMY_ARRAY_COUNT
          The item count for dummy arrays.
static java.lang.String FORM_BEAN_PATTERN
          The pattern for constructing the bean name under which the form is stored.
static java.lang.String FORM_IMPLEMENTATION_PATTERN
          The pattern for constructing the form implementation name.
static java.lang.String FORM_PATTERN
          The pattern for constructing the form name.
static java.lang.String FORM_SCOPE
          Stores the default form scope which can be overriden with a tagged value.
static java.lang.String INPUT_CHECKBOX
          The "checkbox" form input type.
static java.lang.String INPUT_HIDDEN
          The "hidden" form input type.
static java.lang.String INPUT_MULTIBOX
          The "multibox" form input type.
static java.lang.String INPUT_PASSWORD
          The "password" form input type.
static java.lang.String INPUT_RADIO
          The "radio" form input type.
static java.lang.String INPUT_SELECT
          The "select" form input type.
static java.lang.String INPUT_TABLE
          The "table" form input type.
static java.lang.String INPUT_TEXT
          The "text" form input type.
static java.lang.String INPUT_TEXTAREA
          The "textarea" form input type.
static java.lang.String LABEL_LIST_PATTERN
          The pattern used for constructing the label list name (stores the list of possible parameter value labels).
static java.lang.String NORMALIZE_MESSAGES
          Denotes the way application resource messages ought to be generated.
static java.lang.String PLAIN_TEXT
          The "plain text" type.
static java.lang.String PROPERTY_DEFAULT_DATEFORMAT
          Stores the default date format when dates are formatted.
static java.lang.String PROPERTY_DEFAULT_TIMEFORMAT
          Stores the default time format when times are formatted.
static java.lang.String SERVICE_ACCESSOR_PATTERN
          The namespace property used to identify the pattern used to construct the backend service's accessor.
static java.lang.String SERVICE_PACKAGE_NAME_PATTERN
          The namespace property used to identify the pattern used to construct the backend service's package name.
static java.lang.String TITLE_MESSAGE_KEY_SUFFIX
          The suffix given to title message keys.
static java.lang.String USECASE_FORWARD_NAME_SUFFIX
          The suffix to append to the forward name.
static java.lang.String VALUE_LIST_PATTERN
          The pattern used for constructing the values list name (stores the list of possible parameter values when selecting from a list).
static java.lang.String VIEW_POPULATOR_PATTERN
          The pattern used for constructing the name of the filter that performs view form population.
static java.lang.String VIEW_TYPE_POPUP
          Represents a popup action type.
 
Constructor Summary
JSFGlobals()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORMALIZE_MESSAGES

public static final java.lang.String NORMALIZE_MESSAGES
Denotes the way application resource messages ought to be generated. When messages are normalized it means that elements with the same name will reuse the same label, even if they are located in entirely different use-cases or pages.

This results in resource bundles that are not only smaller in size but also more straightforward to translate. The downside is that it will be less evident to customize labels for certain fields (which is rarely the case anyway).

See Also:
Constant Field Values

FORM_PATTERN

public static final java.lang.String FORM_PATTERN
The pattern for constructing the form name.

See Also:
Constant Field Values

DEFAULT_ACTION_REDIRECT

public static final java.lang.String DEFAULT_ACTION_REDIRECT
Contains the default value for whether or not all forwards should perform a HTTP redirect or not.

See Also:
Constant Field Values

FORM_IMPLEMENTATION_PATTERN

public static final java.lang.String FORM_IMPLEMENTATION_PATTERN
The pattern for constructing the form implementation name.

See Also:
Constant Field Values

FORM_BEAN_PATTERN

public static final java.lang.String FORM_BEAN_PATTERN
The pattern for constructing the bean name under which the form is stored.

See Also:
Constant Field Values

FORM_SCOPE

public static final java.lang.String FORM_SCOPE
Stores the default form scope which can be overriden with a tagged value.

See Also:
Constant Field Values

CONTROLLER_IMPLEMENTATION_PATTERN

public static final java.lang.String CONTROLLER_IMPLEMENTATION_PATTERN
Stores the pattern used for constructing the controller implementation name.

See Also:
Constant Field Values

TITLE_MESSAGE_KEY_SUFFIX

public static final java.lang.String TITLE_MESSAGE_KEY_SUFFIX
The suffix given to title message keys.

See Also:
Constant Field Values

DOCUMENTATION_MESSAGE_KEY_SUFFIX

public static final java.lang.String DOCUMENTATION_MESSAGE_KEY_SUFFIX
The suffix given to the documentation message keys.

See Also:
Constant Field Values

SERVICE_ACCESSOR_PATTERN

public static final java.lang.String SERVICE_ACCESSOR_PATTERN
The namespace property used to identify the pattern used to construct the backend service's accessor.

See Also:
Constant Field Values

SERVICE_PACKAGE_NAME_PATTERN

public static final java.lang.String SERVICE_PACKAGE_NAME_PATTERN
The namespace property used to identify the pattern used to construct the backend service's package name.

See Also:
Constant Field Values

ACTION_TYPE_HYPERLINK

public static final java.lang.String ACTION_TYPE_HYPERLINK
Represents a hyperlink action type.

See Also:
Constant Field Values

VIEW_TYPE_POPUP

public static final java.lang.String VIEW_TYPE_POPUP
Represents a popup action type.

See Also:
Constant Field Values

ACTION_TYPE_FORM

public static final java.lang.String ACTION_TYPE_FORM
Represents a form action type.

See Also:
Constant Field Values

ACTION_TYPE_TABLE

public static final java.lang.String ACTION_TYPE_TABLE
Represents a table action type.

See Also:
Constant Field Values

ACTION_TYPE_IMAGE

public static final java.lang.String ACTION_TYPE_IMAGE
Represents an image action type.

See Also:
Constant Field Values

PROPERTY_DEFAULT_DATEFORMAT

public static final java.lang.String PROPERTY_DEFAULT_DATEFORMAT
Stores the default date format when dates are formatted.

See Also:
Constant Field Values

PROPERTY_DEFAULT_TIMEFORMAT

public static final java.lang.String PROPERTY_DEFAULT_TIMEFORMAT
Stores the default time format when times are formatted.

See Also:
Constant Field Values

ACTION_FORM_KEY

public static final java.lang.String ACTION_FORM_KEY
The default key under which the action form is stored.

See Also:
Constant Field Values

VIEW_POPULATOR_PATTERN

public static final java.lang.String VIEW_POPULATOR_PATTERN
The pattern used for constructing the name of the filter that performs view form population.

See Also:
Constant Field Values

BACKING_LIST_PATTERN

public static final java.lang.String BACKING_LIST_PATTERN
The pattern used for constructing a parameter's backing list name. A backing list is used when you want to select the value of the parameter from a list (typically used for drop-down select input types).

See Also:
Constant Field Values

BACKING_VALUE_PATTERN

public static final java.lang.String BACKING_VALUE_PATTERN
The pattern used for constructing a parameter's backing value name. A backing value is used when you want to select and submit values from a regular table (works well when you have a list of complex items with values you need to submit).

See Also:
Constant Field Values

LABEL_LIST_PATTERN

public static final java.lang.String LABEL_LIST_PATTERN
The pattern used for constructing the label list name (stores the list of possible parameter value labels).

See Also:
Constant Field Values

VALUE_LIST_PATTERN

public static final java.lang.String VALUE_LIST_PATTERN
The pattern used for constructing the values list name (stores the list of possible parameter values when selecting from a list).

See Also:
Constant Field Values

DUMMY_ARRAY_COUNT

public static final int DUMMY_ARRAY_COUNT
The item count for dummy arrays.

See Also:
Constant Field Values

CONVERTER_PATTERN

public static final java.lang.String CONVERTER_PATTERN
The pattern used for constructing the name of JSF converter classes (i.e. the enumeration converter).

See Also:
Constant Field Values

INPUT_TEXTAREA

public static final java.lang.String INPUT_TEXTAREA
The "textarea" form input type.

See Also:
Constant Field Values

INPUT_SELECT

public static final java.lang.String INPUT_SELECT
The "select" form input type.

See Also:
Constant Field Values

INPUT_PASSWORD

public static final java.lang.String INPUT_PASSWORD
The "password" form input type.

See Also:
Constant Field Values

INPUT_HIDDEN

public static final java.lang.String INPUT_HIDDEN
The "hidden" form input type.

See Also:
Constant Field Values

INPUT_RADIO

public static final java.lang.String INPUT_RADIO
The "radio" form input type.

See Also:
Constant Field Values

INPUT_TEXT

public static final java.lang.String INPUT_TEXT
The "text" form input type.

See Also:
Constant Field Values

INPUT_MULTIBOX

public static final java.lang.String INPUT_MULTIBOX
The "multibox" form input type.

See Also:
Constant Field Values

INPUT_TABLE

public static final java.lang.String INPUT_TABLE
The "table" form input type.

See Also:
Constant Field Values

INPUT_CHECKBOX

public static final java.lang.String INPUT_CHECKBOX
The "checkbox" form input type.

See Also:
Constant Field Values

PLAIN_TEXT

public static final java.lang.String PLAIN_TEXT
The "plain text" type.

See Also:
Constant Field Values

USECASE_FORWARD_NAME_SUFFIX

public static final java.lang.String USECASE_FORWARD_NAME_SUFFIX
The suffix to append to the forward name.

See Also:
Constant Field Values
Constructor Detail

JSFGlobals

public JSFGlobals()


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.