|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.BasicTemplateProcessor
wt.enterprise.PageGenerationProcessor
Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release. This template processor is used to process templates which do not require a context object. It can be invoked through the URLProcessor, a Windchill script call in anther html template, or directly from an arbitrary java class.
Field Summary |
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 | |
PageGenerationProcessor()
Deprecated. |
Method Summary | |
private OutputStream |
generatePage(OutputStream os,
HTMLTemplate htmlTemplate)
Deprecated. |
void |
generatePage(Properties parameters,
Locale locale,
OutputStream os)
Deprecated. |
OutputStream |
generatePage(String template,
OutputStream os,
Locale locale)
Deprecated. |
OutputStream |
generatePage(String template,
OutputStream os,
Vector langPrefs)
Deprecated. |
void |
handleRequest(HTTPRequest req,
HTTPResponse resp)
Deprecated. Handles a 'GeneratePage' action via the URLProcessor. |
static void |
main(String[] args)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PageGenerationProcessor()
Method Detail |
public void handleRequest(HTTPRequest req, HTTPResponse resp) throws WTException
req
- resp
-
WTException
public OutputStream generatePage(String template, OutputStream os, Vector langPrefs) throws WTException
template
- The template filename relative to the path returned by
TemplateName.getWindchill
os
- The output stream to write the generated page tolangPrefs
- LanguagePreferences are an ordered set of languages that
a browser prefers to view a html page in. If this parameter is
null the WTContext locale is used.
WTException
public OutputStream generatePage(String template, OutputStream os, Locale locale) throws WTException
generatePage
can be invoked from another Java class.
WTException
public void generatePage(Properties parameters, Locale locale, OutputStream os) throws WTException
generatePage
is invoked from a Windchill script call in an html template file.
Only use this method if the template doesn't require a context object.
WTException
private OutputStream generatePage(OutputStream os, HTMLTemplate htmlTemplate) throws WTException
WTException
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |