|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.view.AbstractFacesBean org.apache.shale.view.AbstractViewController org.apache.shale.usecases.locale.Select
public class Select
ViewController to select the Locale
to be used for
localizing responses.
Constructor Summary | |
---|---|
Select()
|
Method Summary | |
---|---|
String |
getLocale()
|
void |
prerender()
Set the value of the locale property based on the
Locale in the current view. |
String |
select()
Set the new Locale , based on the value selected
by the user. |
void |
setLocale(String locale)
|
Methods inherited from class org.apache.shale.view.AbstractViewController |
---|
destroy, init, isPostBack, preprocess, setPostBack |
Methods inherited from class org.apache.shale.view.AbstractFacesBean |
---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Select()
Method Detail |
---|
public String getLocale()
public void setLocale(String locale)
public String select()
Set the new Locale
, based on the value selected
by the user.
public void prerender()
Set the value of the locale
property based on the
Locale
in the current view.
prerender
in interface org.apache.shale.view.ViewController
prerender
in class org.apache.shale.view.AbstractViewController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |