com.sri.emo.annotations
Class PromptAddTag
java.lang.Object
com.sri.emo.annotations.PromptAddTag
- All Implemented Interfaces:
- StateHandler
public class PromptAddTag
- extends Object
- implements StateHandler
- Version:
- 1.0
- Author:
- Michael Rimov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
PromptAddTag
public PromptAddTag(Controller parent)
handleRequest
public void handleRequest(ExpressoRequest request,
ExpressoResponse response)
throws DBException,
ControllerException
- Displays the add input box and add/cancel transitions.
Called to handle the request. Here's an example of the usage within
an Expresso Controller
state handler. It is assumed
that the class MyHandler
implements the StateHandler
interface.
protected void runMyState(final ControllerRequest request,
final ControllerResponse response) throws ControllerException, DBException {
MyHander handler = new MyHandler();
handler.handleRequest(request,response);
}
- Specified by:
handleRequest
in interface StateHandler
- Parameters:
request
- ExpressoRequestresponse
- ExpressoResponse
- Throws:
DBException
ControllerException
Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.