com.sri.emo.annotations
Class PromptAddTag

java.lang.Object
  extended by com.sri.emo.annotations.PromptAddTag
All Implemented Interfaces:
StateHandler

public class PromptAddTag
extends Object
implements StateHandler

Version:
1.0
Author:
Michael Rimov

Field Summary
static String DESCRIPTION
           
static String NAME
           
 
Constructor Summary
PromptAddTag(Controller parent)
           
 
Method Summary
 void handleRequest(ExpressoRequest request, ExpressoResponse response)
          Displays the add input box and add/cancel transitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

PromptAddTag

public PromptAddTag(Controller parent)
Method Detail

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 - ExpressoRequest
response - ExpressoResponse
Throws:
DBException
ControllerException


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.