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