org.apache.shale.usecases.lookup
Class ListLocales

java.lang.Object
  extended by org.apache.shale.view.AbstractFacesBean
      extended by org.apache.shale.view.AbstractViewController
          extended by org.apache.shale.usecases.lookup.ListLocales
All Implemented Interfaces:
org.apache.shale.view.ViewController

public class ListLocales
extends org.apache.shale.view.AbstractViewController

ViewController to retrieve the locales that are supported by this application.

$Id: ListLocales.java 464373 2006-10-16 04:21:54Z rahul $


Constructor Summary
ListLocales()
           
 
Method Summary
 void destroy()
          If any resources were allocated in the prerender() method that were needed for rendering, and now need to be cleaned up, that logic would go in this method.
 javax.faces.model.SelectItem[] getSupportedLocales()
           
 void prerender()
          If any calculations were required to acquire the data required to perform this rendering, that logic would go in this method.
 void setSupportedLocales(javax.faces.model.SelectItem[] supportedLocales)
           
 
Methods inherited from class org.apache.shale.view.AbstractViewController
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

ListLocales

public ListLocales()
Method Detail

getSupportedLocales

public javax.faces.model.SelectItem[] getSupportedLocales()

setSupportedLocales

public void setSupportedLocales(javax.faces.model.SelectItem[] supportedLocales)

prerender

public void prerender()

If any calculations were required to acquire the data required to perform this rendering, that logic would go in this method.

Specified by:
prerender in interface org.apache.shale.view.ViewController
Overrides:
prerender in class org.apache.shale.view.AbstractViewController

destroy

public void destroy()

If any resources were allocated in the prerender() method that were needed for rendering, and now need to be cleaned up, that logic would go in this method.

Specified by:
destroy in interface org.apache.shale.view.ViewController
Overrides:
destroy in class org.apache.shale.view.AbstractViewController


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.