org.openxava.actions
Class SetLocaleAction

java.lang.Object
  extended by org.openxava.actions.BaseAction
      extended by org.openxava.actions.SetLocaleAction
All Implemented Interfaces:
IAction, IChangeModeAction, IModuleContextAction, IRequestAction

public class SetLocaleAction
extends BaseAction

Changes locale based on url parameter. 2011/mar/02 accepts language_COUNTRY for proper locale creation.

Author:
Federico Alcantara

Field Summary
 
Fields inherited from interface org.openxava.actions.IChangeModeAction
DETAIL, LIST, PREVIOUS_MODE, SPLIT
 
Constructor Summary
SetLocaleAction()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.openxava.actions.BaseAction
addActions, addError, addErrors, addInfo, addMessage, addMessages, addWarning, clearActions, executeAfter, executeBefore, getContext, getEnvironment, getErrors, getLocale, getManager, getMessages, getNextMode, getRequest, removeActions, resetDescriptionsCache, returnToPreviousControllers, setContext, setControllers, setDefaultControllers, setEnvironment, setErrors, setMessages, setNextMode, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetLocaleAction

public SetLocaleAction()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Throws:
java.lang.Exception