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

Quick Search    Search Deep

samples.servlet.xml.webform
Class FormController  view FormController download FormController.java

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

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

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

Field Summary
static java.lang.String GOT_NAME
          A Control ID.
 
Fields inherited from class org.scopemvc.controller.basic.BasicController
CHANGE_MODEL_CONTROL_ID, EXIT_CONTROL_ID, HIDE_VIEW_CONTROL_ID
 
Constructor Summary
FormController()
           
 
Method Summary
protected  void doGotName()
          On GOT_NAME, switch over to the second View (which will bind to this Controller's model) and show it.
protected  void doHandleControl(org.scopemvc.core.Control inControl)
          Respond to GOT_NAME.
 void startup()
          If user interacts with a view parented by this Controller but there's no Control in the request then the Controller is started with this method: this is the default behaviour in the absence of a Control.
 
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

GOT_NAME

public static final java.lang.String GOT_NAME
A Control ID.

See Also:
Constant Field Values
Constructor Detail

FormController

public FormController()
Method Detail

doHandleControl

protected void doHandleControl(org.scopemvc.core.Control inControl)
                        throws org.scopemvc.core.ControlException
Respond to GOT_NAME.


doGotName

protected void doGotName()
On GOT_NAME, switch over to the second View (which will bind to this Controller's model) and show it.


startup

public void startup()
If user interacts with a view parented by this Controller but there's no Control in the request then the Controller is started with this method: this is the default behaviour in the absence of a Control.