|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.replication.unit.htmlGeneration.DoConfirmUnitProcessor
This class provides object properties template processors.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CODEBASE
|
private String |
confirmMessage
|
private String |
confirmTitle
|
private String |
pOID
|
private static WTProperties |
properties
|
private static String |
RESOURCE
|
private static boolean |
VERBOSE
|
Fields inherited from interface wt.templateutil.processor.ContextTranslator |
CONTEXT_LIST_IN, CONTEXT_LIST_OUT |
Fields inherited from interface wt.templateutil.processor.ContextHolder |
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS |
Constructor Summary | |
DoConfirmUnitProcessor()
A no argument constructor with no side effects. |
Method Summary | |
void |
confirmAction(Properties parameters,
Locale locale,
OutputStream os)
Write the confirmation message to the HTML page. |
HTMLTemplate |
getTemplate(Vector preferences)
Return an initialized HTMLTemplate. |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
This method handles HTTP GET requests to produce an HTML page which describes properties of the contextual object of an DoConfirmUnitProcessor instance. |
void |
processAction(Properties parameters,
Locale locale,
OutputStream os)
Dummy method for compatibility with existing HTML template. |
void |
showTitle(Properties parameters,
Locale locale,
OutputStream os)
Display title |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static WTProperties properties
private static String CODEBASE
private static boolean VERBOSE
private static final String RESOURCE
private String pOID
private String confirmMessage
private String confirmTitle
Constructor Detail |
public DoConfirmUnitProcessor()
Method Detail |
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
It is expected that this method will be called via the URLProcessor which would have been invoked via a URL created using an objectActionLink (defined by the BasicTemplateProcessor class) script call within an HTML template file.
The format of the HTML that is output is determined by an HTML template file. The template that is used is chosen from the templates directory based on the class of the contextual object, the locale and the parameters passed to the objectProperties call.
Supported API: false
req
- HTTPRequestresp
- HTTPResponse
WTException
URLProcessor
public HTMLTemplate getTemplate(Vector preferences) throws WTException
WTException
public void processAction(Properties parameters, Locale locale, OutputStream os) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void confirmAction(Properties parameters, Locale locale, OutputStream os) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
public void showTitle(Properties parameters, Locale locale, OutputStream os) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |