@Name(value="clientLocaleInitializer") @Scope(value=SESSION) @Startup public class LocaleStartup extends Object implements Serializable
Constructor and Description |
---|
LocaleStartup() |
Modifier and Type | Method and Description |
---|---|
String |
getTzId() |
void |
handleUserSessionStarted(CoreSession session) |
static LocaleStartup |
instance() |
void |
setTzId(String id) |
void |
setupLocale(CoreSession session) |
void |
setupTimeZone(CoreSession session)
Getting the timezone from the cookies and initialize Seam timezone.
|
public static final Log log
public static LocaleStartup instance()
public String getTzId()
public void setTzId(String id)
@Observer(value="org.nuxeo.ecm.web.userSessionStarted") public void handleUserSessionStarted(CoreSession session)
public void setupTimeZone(CoreSession session)
public void setupLocale(CoreSession session)
Copyright © 2013 Nuxeo SA. All Rights Reserved.