Package wt.enterprise
Class ReferencedByProcessor
java.lang.Object
wt.enterprise.BasicTemplateProcessor
wt.enterprise.ReferencedByProcessor
- All Implemented Interfaces:
Externalizable,Serializable,TemplateProcessor,ContextHolder,ContextTranslator,Evolvable
This class provides methods to process URLs and determine
the action to be taken via the arguments of the URL.
The arguments to the URL are an "action" and an "oid". The method specified in the URL will use the arguments and possibly an application context service (wt.services.applicationcontext.*) to determine what to do next.
Generally this class will not be used directly, but instead will be
instantiated via the TemplateProcessor.objectActionLink() method.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
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, STATUSFields inherited from interface wt.templateutil.processor.ContextTranslator
CONTEXT_LIST_IN, CONTEXT_LIST_OUT -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetReferencedByTable(HTTPRequest req, HTTPResponse resp) Given an "action" and "oid" uses an application context service to determine a template processor to apply to the object specified by the oid.Methods inherited from class wt.enterprise.BasicTemplateProcessor
addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, createActionsBar, createGlobalNavigationBar, createNavigationBar, currentTimestamp, getContextAction, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getEncoding, getFormData, getHTMLHelpURL, getHTMLTableService, getLocalizedPrintWriter, getObjectIcon, getPrintWriter, getQueryData, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getStatus, getURLProcessorLink, getWCColor, getWCColorDec, getWCFontFamily, objectActionLink, objectBackground, objectIdentification, objectPropertyName, objectPropertyValue, processSubTemplate, setContextAction, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setStatus, showResponseExceptions, tableService
-
Method Details
-
getReferencedByTable
Given an "action" and "oid" uses an application context service to determine a template processor to apply to the object specified by the oid.
Supported API: true
Extendable: false- Parameters:
req- The HTTPRequest.resp- The HTTPResponse- Throws:
WTException
-