org.apache.shale.usecases.symbols
Class RegistrationForm

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

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

This view controller manages state outside of the managed beans associated with the form. It's purpose is to respond to the loading of the page and processing the posted events.


Constructor Summary
RegistrationForm()
           
 
Method Summary
 void init()
          This view controller is scoped in the request.
 String save()
          Handles action of saving the pages state.
 
Methods inherited from class org.apache.shale.view.AbstractViewController
destroy, isPostBack, preprocess, prerender, 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

RegistrationForm

public RegistrationForm()
Method Detail

init

public void init()

This view controller is scoped in the request. The init method is invoked for each request and the page's state is stored in session scoped beans. The dialog for these session scoped beans are managed through this stateless controller. This separation of view model data and action controller is similar to Struts Action 1.x.

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

save

public String save()

Handles action of saving the pages state.



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