|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.Constants
The Constants class defines the static global constants.
| Field Summary | |
static String |
ACTION_ERRORS
Struts by itself does not provide a way to distinguish
between validation errors and deeper action errors. |
static String |
COUNTRY_CODE_LIST_KEY
On startup a context-param (specified in
web.xml) called countries is examined and a list of
available country codes is loaded into the application context under
this key. |
static String |
COUNTRY_LIST
Whenever we need to display a list of countries, localised correctly for the user, we will look under this key. |
static String |
CURRENCY_CODE_LIST_KEY
On startup a context-param (specified in
web.xml) called currencies is examined and a list of
available currency codes is loaded into the application context under
this key. |
static String |
CURRENCY_LIST
Whenever we need to display a list of currencies, localised correctly for the user, we will look under this key. |
static String |
DUNNO
How we say we don't know. |
static String |
FEMALE
People can be female |
static String |
GENDERS_KEY
on startup a context-param (specified in
web.xml) called genders is examined and a list of
available gender keys is loaded into the application context under this
key. |
static String |
HSF_KEY
The key used to store the Hibernate SessionFactory in the
session. |
static String |
LANGUAGE_CODE_LIST_KEY
On startup a context-param (specified in
web.xml) called languages is examined and a list of
available languge codes is loaded into the application context under
this key. |
static String |
LANGUAGE_LIST
When the user's session starts their local is determined automatically and the appropriatly localised resources are loaded. |
static String |
MALE
People can be male |
static String |
NEXT_FORWARD
the next safe forward for the action to use. |
static String |
NO
How we say no. |
static String |
OOCARES
How we say we don't care. |
static String |
ORIGINAL_LOGIN_REQUEST
The path that the user originally wanted before they were diverted to the login page. |
static String |
PARAM_TARGET
The name of the parameter used to choose a target object. |
static String |
PRAPS
How we say perhaps. |
static Properties |
PROPERTIES
System wide properties loaded from
/generica_runtime.properties. |
static String |
SITE_COPY_KEY
the key under which any site copy for the current page is held. |
static String |
SITE_SECTION_LIST
when the user's session starts their local is determined automatically and the appropriatly localised resources are loaded. |
static String |
SITE_SECTION_LIST_KEY
on startup a context-param (specified in
web.xml) called site-sections is examined and a list
of available site sections is loaded into the application context under
this key. |
static String |
TARGET_KEY
The key used universally to store and retrieve the object the current form is acting on from either the request, or Pipe. |
static String |
TARGET_SUMMARY_KEY
The key used universally to store the summarised object that accompanies a form target object. |
static String |
USER_KEY
The key used universally to store and retrieve the current web application user from the session. |
static String |
VERSION
The version ID for the generica package as stamped by the build process. |
static String |
YES
How we say yes. |
static String |
YES_NO_LIST
Whenever we need to display a list of yes/no options, localised correctly for the user, we will look under this key. |
| Constructor Summary | |
Constants()
|
|
| Method Summary | |
static Properties |
getProperties()
loads the genrica_runtime properties file and traps any exceptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Properties PROPERTIES
/generica_runtime.properties.
public static final String YES
public static final String NO
public static final String PRAPS
public static final String DUNNO
public static final String OOCARES
public static final String MALE
public static final String FEMALE
public static final String NEXT_FORWARD
public static final String VERSION
public static final String USER_KEY
public static final String ORIGINAL_LOGIN_REQUEST
public static final String LANGUAGE_CODE_LIST_KEY
context-param (specified in
web.xml) called languages is examined and a list of
available languge codes is loaded into the application context under
this key.
public static final String LANGUAGE_LIST
LANGUAGE_CODE_LIST_KEY is matched with a list holding the
localised names for the available languages.
public static final String YES_NO_LIST
Presenter and matches against YES and NO for
the available languages.
public static final String COUNTRY_CODE_LIST_KEY
context-param (specified in
web.xml) called countries is examined and a list of
available country codes is loaded into the application context under
this key.
public static final String COUNTRY_LIST
Presenter and matches against
COUNTRY_CODE_LIST_KEY for the available country codes.
public static final String CURRENCY_CODE_LIST_KEY
context-param (specified in
web.xml) called currencies is examined and a list of
available currency codes is loaded into the application context under
this key.
public static final String CURRENCY_LIST
Presenter and matches against
CURRENCY_CODE_LIST_KEY for the available currency codes.
public static final String TARGET_KEY
Pipe.
public static final String TARGET_SUMMARY_KEY
public static final String ACTION_ERRORS
Struts by itself does not provide a way to distinguish
between validation errors and deeper action errors. You can test for the
presence of the ACTION_ERRORS flag in the request to report
errors that are specifically action errors.
public static final String HSF_KEY
SessionFactory in the
session.
public static final String PARAM_TARGET
http://localhost/myapp/in/edituser.do?target=12345.
public static final String SITE_COPY_KEY
public static final String SITE_SECTION_LIST_KEY
context-param (specified in
web.xml) called site-sections is examined and a list
of available site sections is loaded into the application context under
this key.
public static final String SITE_SECTION_LIST
SITE_SECTION_LIST_KEY is matched with a list holding the
localised names for the available site sections.
public static final String GENDERS_KEY
context-param (specified in
web.xml) called genders is examined and a list of
available gender keys is loaded into the application context under this
key.
| Constructor Detail |
public Constants()
| Method Detail |
public static Properties getProperties()
RuntimeException - if anything goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||