Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

samples.servlet.xml.login
Class LoginAppController  view LoginAppController download LoginAppController.java

java.lang.Object
  extended byorg.scopemvc.controller.basic.BasicController
      extended bysamples.servlet.xml.login.LoginAppController
All Implemented Interfaces:
org.scopemvc.core.Controller

public class LoginAppController
extends org.scopemvc.controller.basic.BasicController

Top-most application Controller for the Login Sample, creates a child FormController, but handles the Login process itself so that any child Controller can do logins by passing a REQUEST_LOGIN Control up the chain of command.

Version:
$Revision: 1.2 $ $Date: 2002/01/12 09:35:41 $

Field Summary
private  FormController formController
           
static java.lang.String VALIDATE_LOGIN
           
 
Fields inherited from class org.scopemvc.controller.basic.BasicController
CHANGE_MODEL_CONTROL_ID, EXIT_CONTROL_ID, HIDE_VIEW_CONTROL_ID
 
Constructor Summary
LoginAppController()
           
 
Method Summary
protected  void doHandleControl(org.scopemvc.core.Control inControl)
          Respond to VALIDATE_LOGIN and LoginControls.REQUEST_LOGIN.
protected  void doRequestLogin()
           
protected  void doValidateLogin(java.util.HashMap inParameters)
           
 void startup()
          Call this after creating the Controller to make it perform its initial action.
 
Methods inherited from class org.scopemvc.controller.basic.BasicController
addChild, bindModelToView, getChildren, getModel, getParent, getTopParent, getView, handleControl, handleControlException, hideView, hideView, passControlToParent, removeChild, setModel, setModelAndView, setParent, setView, showError, showView, showView, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATE_LOGIN

public static final java.lang.String VALIDATE_LOGIN
See Also:
Constant Field Values

formController

private FormController formController
Constructor Detail

LoginAppController

public LoginAppController()
Method Detail

doHandleControl

protected void doHandleControl(org.scopemvc.core.Control inControl)
                        throws org.scopemvc.core.ControlException
Respond to VALIDATE_LOGIN and LoginControls.REQUEST_LOGIN.


doValidateLogin

protected void doValidateLogin(java.util.HashMap inParameters)

doRequestLogin

protected void doRequestLogin()

startup

public void startup()
Description copied from class: org.scopemvc.controller.basic.BasicController
Call this after creating the Controller to make it perform its initial action. Default implementation here just calls showView() if a View is set.