net.sf.imca.web.backingbeans
Class Utils

java.lang.Object
  extended by net.sf.imca.web.backingbeans.Utils

public class Utils
extends java.lang.Object

Utilities for Java Server Faces.

Author:
dougculnane

Field Summary
protected static java.lang.String ACTION_BACK
           
protected static java.lang.String ACTION_CONFIRM
           
protected static java.lang.String ACTION_FAIL
           
protected static java.lang.String ACTION_LOGOUT
           
protected static java.lang.String ACTION_SUCCESS
           
protected static java.lang.String WEB_USER_BEAN_NAME
           
 
Constructor Summary
Utils()
           
 
Method Summary
static java.lang.Object getManagedBean(java.lang.String beanName)
           
static java.lang.String getMessage(java.lang.String messageKey)
           
static java.util.Locale getWebAppLocale()
           
static WebUser getWebUser()
           
static void setManagedBean(java.lang.String beanName, java.lang.Object bean)
           
static void setWebUser(WebUser webUser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_FAIL

protected static final java.lang.String ACTION_FAIL
See Also:
Constant Field Values

ACTION_SUCCESS

protected static final java.lang.String ACTION_SUCCESS
See Also:
Constant Field Values

ACTION_LOGOUT

protected static final java.lang.String ACTION_LOGOUT
See Also:
Constant Field Values

WEB_USER_BEAN_NAME

protected static final java.lang.String WEB_USER_BEAN_NAME
See Also:
Constant Field Values

ACTION_CONFIRM

protected static final java.lang.String ACTION_CONFIRM
See Also:
Constant Field Values

ACTION_BACK

protected static final java.lang.String ACTION_BACK
See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

getManagedBean

public static java.lang.Object getManagedBean(java.lang.String beanName)

setManagedBean

public static void setManagedBean(java.lang.String beanName,
                                  java.lang.Object bean)

getWebAppLocale

public static java.util.Locale getWebAppLocale()

getWebUser

public static WebUser getWebUser()

setWebUser

public static void setWebUser(WebUser webUser)

getMessage

public static java.lang.String getMessage(java.lang.String messageKey)


Copyright © 2007-2008 The International Moth Class Association (IMCA).. All Rights Reserved.