TIME_PATTERN_SHORT As part of the crutch for JSF's inability to do validation on relative
values in different components.
Method Summary
public static void
addErrorMessage(String message) Adds an error message for display on a page when the page is guaranteed
not to be displayed via a redirect.
public static void
addErrorMessage(String message, String componentId) Adds an error message for display on a component when the page is guaranteed
not to be displayed via a redirect.
public static void
addInfoMessage(String message) Adds an info message for display on a page when the page is guaranteed
not to be displayed via a redirect.
public static void
addRedirectSafeInfoMessage(String message) Adds an info message for display on a page even if faces sends the user
to the page via a redirect.
public static void
addRedirectSafeWarnMessage(String message) Adds a warning message for display on a page even if faces sends the user
to the page via a redirect.
resolveVariable(String name) To cut down on configuration noise, allow access to request-scoped beans from
session-scoped beans, and so on, this method lets the caller try to find
anything anywhere that Faces can look for it.
Field Detail
TIME_PATTERN_DISPLAY
final public static String TIME_PATTERN_DISPLAY(Code)
As part of the crutch for JSF's inability to do validation on relative
values in different components. This pattern defines how times should
be displayed in the Section Info UI.
TIME_PATTERN_LONG
final public static String TIME_PATTERN_LONG(Code)
As part of the crutch for JSF's inability to do validation on relative
values in different components. This pattern defines how to parse and
format complete times (with hours, minutes, and am/pm marker).
TIME_PATTERN_SHORT
final public static String TIME_PATTERN_SHORT(Code)
As part of the crutch for JSF's inability to do validation on relative
values in different components. This pattern defines how to parse and
format abberviated times (with only hours and am/pm marker).
Method Detail
addErrorMessage
public static void addErrorMessage(String message)(Code)
Adds an error message for display on a page when the page is guaranteed
not to be displayed via a redirect.
Parameters: message -
addErrorMessage
public static void addErrorMessage(String message, String componentId)(Code)
Adds an error message for display on a component when the page is guaranteed
not to be displayed via a redirect.
Parameters: message - Parameters: componentId -
addInfoMessage
public static void addInfoMessage(String message)(Code)
Adds an info message for display on a page when the page is guaranteed
not to be displayed via a redirect.
Parameters: message -
addRedirectSafeInfoMessage
public static void addRedirectSafeInfoMessage(String message)(Code)
Adds an info message for display on a page even if faces sends the user
to the page via a redirect.
Parameters: message -
addRedirectSafeWarnMessage
public static void addRedirectSafeWarnMessage(String message)(Code)
Adds a warning message for display on a page even if faces sends the user
to the page via a redirect.
Parameters: message -
convertStringToTime
public static Time convertStringToTime(String str, boolean am)(Code)
Converts a string and a boolean (am) into a java.sql.Time object.
Parameters: str - Parameters: am -
To cut down on configuration noise, allow access to request-scoped beans from
session-scoped beans, and so on, this method lets the caller try to find
anything anywhere that Faces can look for it.
WARNING: If what you're looking for is a managed bean and it isn't found,
it will be created as a result of this call.