java.lang.Object
org.scopemvc.controller.basic.BasicController
samples.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 $
| 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 |
VALIDATE_LOGIN
public static final java.lang.String VALIDATE_LOGIN
- See Also:
- Constant Field Values
formController
private FormController formController
LoginAppController
public LoginAppController()
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.