wt.templateutil.processor
Class DefaultTemplateProcessor

java.lang.Object
  extended bywt.enterprise.BasicTemplateProcessor
      extended bywt.templateutil.processor.DefaultTemplateProcessor
All Implemented Interfaces:
ContextHolder, ContextTranslator, Evolvable, Externalizable, Serializable, TemplateProcessor
Direct Known Subclasses:
ActionRowTemplateProcessor, AutoAssociateHeaderTemplateProcessor, AutoAssociateProcessor, BannerTemplateProcessor, CADDocBaselineTemplateProcessor, ChangeIntermediateActionProcessor, ChangeManagementTemplateProcessor, CheckedOutProcessor, CommonProcessorService, CommonProcessorService, ConfigurationItemInstancesProcessor, ConsoleTemplateProcessor, ContainerTemplateProcessor, ContentProcessor, CreateOrEditTableViewProcessor, DefaultEffDisplayProcessor, DeletedUserCabinetListProcessor, DeleteGatheringStepProcessor, DeleteStepProcessor, DeleteWTProductInstanceProcessor, DescribesTemplateProcessor, DifferenceReportProcessor, DisassociateProcessor, EffTemplateProcessor, EPMGetDepsTemplateProcessor, EventDetailsTemplateProcessor, ExpandCollapseSectionProcessor, FindNodeSelector, GenerateFormProcessor, HelpGenerationProcessor, HistoryCriterionRowProcessor, HistorySignatureRowProcessor, HistoryTemplateProcessor, InstanceTemplateProcessor, JavaScriptProcessor, JSDataIFrameProcessor, JSPrefsProcessor, JSTableTaskProcessor, LibraryProcessor, MoveEditStepProcessor, MoveStepProcessor, MSOITemplateProcessor, MultilevelBomCompareProcessor, MultilevelWhereUsedProcessor, MultireviseProcessor, NavBarTemplateProcessor, NavigationStructureSelector, NewCADDocPropertyTemplateProcessor, NewCADDocPropsProcessor, ObjectPropertiesTableProcessor, PartReplacementsProcessor, ProcessManagerProcessor, PublicationProcessor, PVXTemplateProcessor, ReportQueryProcessor, RetryTaskProcessor, RootViewProcessor, SandboxTemplateProcessor, SaveAsHeaderTemplateProcessor, SaveAsProcessor, SaveAsViewTemplateProcessor, SelectWorkflowProcessor, ServletSessionCookieProcessorService, SetupHomepageProcessor, ShareStatusProcessor, SourcingFactorHomePageProcessor, SwitchFormProcessor, TableToolbarTemplateProcessor, TableViewManagerProcessor, TaskStatusTemplateProcessor, UpdateTemplateProcessor, WfCheckinTemplateProcessor, WfMessageProcessor, WfTaskCompleteProcessor, WindchillPDMTemplateProcessor, WorkspaceCommonTemplateProcessor, WorkspacesProcessor, WsMenuBarTemplateProcessor, WsPrefCommonTemplateProcessor

public class DefaultTemplateProcessor
extends BasicTemplateProcessor

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 class represents the base Template Processor that should be subclassed for the Template Processors that will be used to generate an HTML page that purely present information, i.e., there is not an HTML Form in the page. By subclassing this Template Processor, all of set up to process an HTML template is done for you. One of the most important default services is finding and initializing the HTML Template. The DefaultHTMLTemplateFactory is used behind the scenes to do this based on the current settings in the the HTTPState object.

Once you have subclassed this class and added the proper entries in an .properties file to that you subclass and the corresponding HTML Template can be found, you only need to implement the methods to support the Windchill script calls in the HTML Template.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
protected static String ACTION
          Deprecated.  
protected static String CLASS
          Deprecated.  
private static String CLASSNAME
          Deprecated.  
protected static String CODEBASE
          Deprecated.  
static long EXTERNALIZATION_VERSION_UID
          Deprecated.  
private static String FEEDBACK_COOKIE_EXCEPTIONS_KEY
          Deprecated.  
private static String FEEDBACK_COOKIE_MESSAGES_KEY
          Deprecated.  
private static String FEEDBACK_COOKIE_NAME
          Deprecated.  
private  AbstractHTMLTemplateFactory htmlTemplateFactory
          Deprecated.  
static String LINE_FEED_DELIMITER
          Deprecated.  
static String MESSAGE_SEPARATOR
          Deprecated.  
protected static String OID
          Deprecated.  
protected static long OLD_FORMAT_VERSION_UID
          Deprecated.  
private  int PAGE_EXPIRATION
          Deprecated.  
private  String pageExpirationResource
          Deprecated.  
private static String RESOURCE
          Deprecated.  
(package private) static long serialVersionUID
          Deprecated.  
protected static boolean VERBOSE
          Deprecated.  
 
Fields inherited from class wt.enterprise.BasicTemplateProcessor
ADD_HELP_ICON, ALL_CABINETS, BLANK_SPACE, BREAK_SEPARATOR, BREAK_TAG, componentFactory, CONTAINER_NAME, CONTENT_RESOURCE, contextClass, DEFAULT_CHARSET, DEFAULT_HELP_ICON_SELECTOR, DEFAULT_HELP_LABEL, DEFAULT_PREFERENCE_CONTEXT, DOCFROMTEMPLATE, ENABLE_HELP_ICON_PROPERTY_NAME, ENTERPRISE_SEARCH, FEDERATION_SEARCH, GLOBAL_NAVIGATION_ENABLE_HELP_ICON, globalNavBarHelpIconEnabledDefault, HELP_CONTEXT, HELP_ICON_POSITION, HELP_ICON_SELECTOR, HELP_LABEL, HELP_LABEL_RESOURCE, HELP_WINDOW_NAME, helpContext, helpIconEnabled, helpIconEnabledDefault, HOMEPAGE, IDPREFIX, IMPORT, INTEGRATED_SEARCH, isDndMicroAppletEnabled, isDndMicroAppletEnabledInitialized, LABEL_SEPARATOR, linkPrefix, LOCAL_SEARCH, pageContext, PDMLINK_INSTALL_KEY, PERSONAL_CABINET, PREF_WINDOW_NAME, PREFERENCE_CONTEXT, PRESENT_HELP_LABEL, PROJECTLINK_INSTALL_KEY, SEARCH, SHARE_ICON, TEXT_RESOURCE_BUNDLE, URL_RESOURCE, WORKLIST, wtAttribute, WTCORE_IMAGE_DIR
 
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
DefaultTemplateProcessor()
          Deprecated.  
 
Method Summary
 void addHiddenProperty(Properties parameters, Locale locale, OutputStream os)
          Deprecated. Windchill Script method used to present an HTML Form element that is of type=hidden using the name="name" and the value="value".
static void addToFeedbackCookie(Exception newException, HTTPState state)
          Deprecated. Adds an exception to the session cookie storing feedback from server to client
static void addToFeedbackCookie(LocalizableMessage newMessage, HTTPState state)
          Deprecated. Adds a message to the session cookie storing feedback from server to client
 String getContextPropertyValue(String token)
          Deprecated.  
 void getCurrentUrl(Properties parameters, Locale locale, OutputStream os)
          Deprecated. Prints the url of the current page
static Vector getFeedbackCookieExceptions(boolean deleteFromCookie, HTTPState state)
          Deprecated. Gets exceptions stored in the session cookie holding feedback from server to client
static Vector getFeedbackCookieMessages(boolean deleteFromCookie, HTTPState state)
          Deprecated. Gets messages stored in the session cookie holding feedback from server to client
 AbstractHTMLTemplateFactory getHtmlTemplateFactory()
          Deprecated. Gets the object for the association that plays role: htmlTemplateFactory.
 void getMessageSeparator(Properties params, Locale locale, OutputStream os)
          Deprecated. Method to provide DefaultTemplateProcessor.MESSAGE_SEPARATOR string to page, typically for use as a variable within a Javascript method for concatenating or parsing.
 int getPAGE_EXPIRATION()
          Deprecated.  
 String getPageExpirationResource()
          Deprecated.  
 HTMLTemplate getTemplate(HTTPRequest req)
          Deprecated.  
 void getTemplateDisplay(Properties properties, Locale locale, OutputStream os)
          Deprecated. Method to display the template property of an object along with its availability for use.
 void handleRequest(HTTPRequest req, HTTPResponse resp)
          Deprecated. Does the processing of the HTML Template.
 String hiddenContextString(String name, String value)
          Deprecated. Generates a String for an HTML Form element that is of type=hidden using the name="name" and the value="value"
 void readExternal(ObjectInput input)
          Deprecated.  
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(DefaultTemplateProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Deprecated.  
 void setContextPropertyValue(String propertyName, String propertyValue)
          Deprecated.  
 void setHtmlTemplateFactory(AbstractHTMLTemplateFactory a_HtmlTemplateFactory)
          Deprecated. Sets the object for the association that plays role: htmlTemplateFactory.
static void setMethodContextProperty(Properties parameters, Locale locale, OutputStream os)
          Deprecated. This method will set a property(s) within the Method Context as defined in the method call.
 void setNameProcessor(TemplateNameProcessor a_NameProcessor)
          Deprecated.  
 void setPAGE_EXPIRATION(int a_PAGE_EXPIRATION)
          Deprecated.  
 void setPageExpirationResource(String a_PageExpirationResource)
          Deprecated.  
 void writeExternal(ObjectOutput output)
          Deprecated.  
 void writeHiddenContext(Properties parameters, Locale locale, OutputStream os)
          Deprecated. Windchill Script method used to generate a sequence of HTML hidden input fields that pass the current context of the page, namely the contextAction and either the contextObj(if it is set) or the contextClass(if it is set).
 String writeQueryStringContext()
          Deprecated. Windchill Script method used to generate part of a query string that passes the current context of the page, namely the contextAction and either the contextObj(if it is set) or the contextClass(if it is set).
 
Methods inherited from class wt.enterprise.BasicTemplateProcessor
AccessOK, addHTMLHelpLink, addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, allVersions, bcwti, buildFormProcessorURL, buildFormProcessorURL, comment, createActionsBar, createFederationNavigationBar, createGlobalNavigationBar, createNavigationBar, createParentFolderLink, currentTimestamp, displayAllCabinets, displayAttributeName, displayAttributesTable, displayAttributeValue, displayFolderContents, displayFolderObject, displayFolderTrail, displayGoToLatestLink, displayOrganizationIdentifier, displayPendingChangeIndicator, displayStyleSheetAttributesTable, displayVisualData, formatDate, getActionPairs, getAllCabinetsURL, getBaselineItems, getCharsetEncoding, getCheckedOutFolderURL, getClassIcon, getClassInfo, getContextAction, getContextClass, getContextClassName, getContextListIn, getContextListOut, getContextObj, getContextProperties, getContextServiceName, getDisplayName, getDomainPath, getEnabledVersion, getEncoding, getFederationSearchURL, getFolderLocation, getFolderPath, getFormData, getGenericInstanceIconImgTag, getGlyphImageTag, getGlyphsArray, getGlyphTagsNoDnD, getHelpContext, getHomepageURL, getHTMLComponentFactory, getHTMLHelpLink, getHTMLHelpURL, getHTMLHelpURL, getHTMLTableService, getIconResource, getIconResource, getIconResource, getIconSelector, getId, getJavaScriptManager, getLocalizedDateFormatMessage, getLocalizedMessage, getLocalizedPrintWriter, getLocalizedString, getObjectDnDIcon, getObjectIcon, getObjectIconDnDTag, getObjectIconGlyphs, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectIconImgTag, getObjectPropertyValueString, getObjectPropertyValueString, getPageContext, getParentFolderLink, getPersonalCabinet, getPersonalCabinetURL, getPreferenceValue, getPrincipalEmailLink, getPrincipalEmailLink, getPrintWriter, getPropertyFromPropertyFile, getQuery, getQueryData, getReferenceString, getReferenceString, getResourceString, getResourceString, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getSearchCriteriaURL, getSearchCriteriaURL, getSearchResultsURL, getShareImage, getShareImage, getState, getStatus, getStringFromResourceBundle, getStringFromResourceBundle, getTemplateDisplayGeneral, getTrailId, getTrlIdAttribute, getURLActions, getURLActions, getURLActions, getURLActions, getURLActionsString, getURLActionsString, getURLFactory, getURLFromDelegate, getURLProcessorLink, getURLProcessorLink, getURLProcessorLink, getURLProcessorLinkWithLabel, getUsedByLinks, getWCColor, getWCColor, getWCColorDec, getWCColorDec, getWCFontFamily, getWCFontFamily, getWorklistURL, getWTAttribute, getWTContainerByName, getWTContainerRef, handleExceptionTP, handleExceptionTP, handleProcessorException, include, initJavaScriptManager, isDndMicroAppletEnabled, isEqual, listContent, objectActionLink, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectActionLinkAux, objectBackground, objectIdentification, objectIdentifier, objectProperties, objectPropertyName, objectPropertyNameAux, objectPropertyNameAux2, objectPropertyValue, objectPropertyValueAux, objectPropertyValueAux2, objectPropertyValueString, outputLink, outputPropertyFromPropertyFile, parameterValue, partUsedBy, PDMLinkIsInstalled, printQueryTable, printTable, printTextArea, processSubTemplate, readContext, readVersion, setColumnProperties, setContextAction, setContextClass, setContextClassName, setContextListIn, setContextListOut, setContextObj, setContextProperties, setFormData, setHelpContext, setHTMLTableService, setJavaScriptManager, setPageContext, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, showResponseExceptions, showResponseFooters, showResponseHeaders, showResponseMessage, showResponseMessages, showVersions, sortQueryResult, splitStringIntoTokens, tableService, translateToHtml, useProcessorService, visualizationIsEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

pageExpirationResource

private String pageExpirationResource
Deprecated. 

PAGE_EXPIRATION

private int PAGE_EXPIRATION
Deprecated. 

htmlTemplateFactory

private AbstractHTMLTemplateFactory htmlTemplateFactory
Deprecated. 

serialVersionUID

static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
Deprecated. 
See Also:
Constant Field Values

VERBOSE

protected static boolean VERBOSE
Deprecated. 

CODEBASE

protected static String CODEBASE
Deprecated. 

ACTION

protected static String ACTION
Deprecated. 

CLASS

protected static String CLASS
Deprecated. 

OID

protected static String OID
Deprecated. 

FEEDBACK_COOKIE_NAME

private static final String FEEDBACK_COOKIE_NAME
Deprecated. 
See Also:
Constant Field Values

FEEDBACK_COOKIE_MESSAGES_KEY

private static final String FEEDBACK_COOKIE_MESSAGES_KEY
Deprecated. 
See Also:
Constant Field Values

FEEDBACK_COOKIE_EXCEPTIONS_KEY

private static final String FEEDBACK_COOKIE_EXCEPTIONS_KEY
Deprecated. 
See Also:
Constant Field Values

MESSAGE_SEPARATOR

public static final String MESSAGE_SEPARATOR
Deprecated. 
See Also:
Constant Field Values

LINE_FEED_DELIMITER

public static final String LINE_FEED_DELIMITER
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DefaultTemplateProcessor

public DefaultTemplateProcessor()
Deprecated. 
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Deprecated.  

Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class BasicTemplateProcessor
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class BasicTemplateProcessor
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(DefaultTemplateProcessor thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Deprecated.  

Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Deprecated. 
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getPageExpirationResource

public String getPageExpirationResource()
Deprecated.  

Gets the value of the attribute: pageExpirationResource.

Supported API: true

Returns:
String

setPageExpirationResource

public void setPageExpirationResource(String a_PageExpirationResource)
Deprecated.  

Sets the value of the attribute: pageExpirationResource.

Supported API: true

Parameters:
a_PageExpirationResource -

getPAGE_EXPIRATION

public int getPAGE_EXPIRATION()
Deprecated.  

Gets the value of the attribute: PAGE_EXPIRATION.

Supported API: true

Returns:
int

setPAGE_EXPIRATION

public void setPAGE_EXPIRATION(int a_PAGE_EXPIRATION)
Deprecated.  

Sets the value of the attribute: PAGE_EXPIRATION.

Supported API: true

Parameters:
a_PAGE_EXPIRATION -

getHtmlTemplateFactory

public AbstractHTMLTemplateFactory getHtmlTemplateFactory()
                                                   throws WTException
Deprecated. 
Gets the object for the association that plays role: htmlTemplateFactory.

Returns the current implementation of an AbstractHTMLTemplateFactory that will be used to locate the HTML Template to be used. The default implementation of an AbstractHTMLTemplateFactory to be used is the DefaultHTMLTemplateFactory. However, any implementation of an AbstractHTMLTemplateFactory is valid.

Supported API: true

Returns:
AbstractHTMLTemplateFactory
Throws:
WTException

setHtmlTemplateFactory

public void setHtmlTemplateFactory(AbstractHTMLTemplateFactory a_HtmlTemplateFactory)
Deprecated. 
Sets the object for the association that plays role: htmlTemplateFactory.

Sets the current implementation of an AbstractHTMLTemplateFactory to be used to retrieve an HTML Template to be processed.

Supported API: false

Parameters:
a_HtmlTemplateFactory -

getTemplate

public HTMLTemplate getTemplate(HTTPRequest req)
                         throws WTException
Deprecated.  

Returns the HTML Template to be processed using the current implementation of an AbstractHTMLTemplateFactory returned by the getHtmlTemplateFactory method.

The current "state" and locale is used to find the correct HTML template.

Supported API: true

Parameters:
req -
Returns:
HTMLTemplate
Throws:
WTException

setNameProcessor

public void setNameProcessor(TemplateNameProcessor a_NameProcessor)
                      throws WTException
Deprecated.  



Supported API: true

Parameters:
a_NameProcessor -
Throws:
WTException

setContextPropertyValue

public void setContextPropertyValue(String propertyName,
                                    String propertyValue)
Deprecated.  



Supported API: true

Parameters:
propertyName -
propertyValue -

getContextPropertyValue

public String getContextPropertyValue(String token)
Deprecated.  



Supported API: true

Parameters:
token -
Returns:
String

handleRequest

public void handleRequest(HTTPRequest req,
                          HTTPResponse resp)
                   throws WTException
Deprecated. 
Does the processing of the HTML Template. This method is implemented using the GoF "Template Method". There are several actions that can be overriden by overriding certain methods in a subclass.

Parameters:
req -
resp -
Throws:
WTException

writeHiddenContext

public void writeHiddenContext(Properties parameters,
                               Locale locale,
                               OutputStream os)
Deprecated. 
Windchill Script method used to generate a sequence of HTML hidden input fields that pass the current context of the page, namely the contextAction and either the contextObj(if it is set) or the contextClass(if it is set). This can be used to generate URLs to place in an HTML page.

Specified by:
writeHiddenContext in interface ContextTranslator
Overrides:
writeHiddenContext in class BasicTemplateProcessor
Parameters:
parameters -
locale -
os -

writeQueryStringContext

public String writeQueryStringContext()
Deprecated. 
Windchill Script method used to generate part of a query string that passes the current context of the page, namely the contextAction and either the contextObj(if it is set) or the contextClass(if it is set). This can be used to generate URLs to place in an HTML page.

Specified by:
writeQueryStringContext in interface ContextTranslator
Overrides:
writeQueryStringContext in class BasicTemplateProcessor
Returns:
String

hiddenContextString

public String hiddenContextString(String name,
                                  String value)
Deprecated. 
Generates a String for an HTML Form element that is of type=hidden using the name="name" and the value="value"

Overrides:
hiddenContextString in class BasicTemplateProcessor
Parameters:
name - The name value for the HTML input field
value - The value value for the HMTL input field
Returns:
String Single HTML hidden input field

addHiddenProperty

public void addHiddenProperty(Properties parameters,
                              Locale locale,
                              OutputStream os)
                       throws WTException
Deprecated. 
Windchill Script method used to present an HTML Form element that is of type=hidden using the name="name" and the value="value". This can be used to pass information along a sequence of HTML pages via hidden input fields in an HTML form.

Overrides:
addHiddenProperty in class BasicTemplateProcessor
Parameters:
parameters -
locale -
os -
Throws:
WTException - Description of the Exception

getCurrentUrl

public void getCurrentUrl(Properties parameters,
                          Locale locale,
                          OutputStream os)
Deprecated. 
Prints the url of the current page


setMethodContextProperty

public static void setMethodContextProperty(Properties parameters,
                                            Locale locale,
                                            OutputStream os)
Deprecated. 
This method will set a property(s) within the Method Context as defined in the method call. These values will be set for the during for which the Method Context is active. To call multiple properties, a call should be made similar to the following below:

Parameters:
parameters - List of properties to add to the Method Context
locale - The locale to use
os - OutputStream for writing (if applicable)

addToFeedbackCookie

public static void addToFeedbackCookie(Exception newException,
                                       HTTPState state)
Deprecated. 
Adds an exception to the session cookie storing feedback from server to client

Parameters:
newException - exception to be stored
state - state object of template processor or other caller

addToFeedbackCookie

public static void addToFeedbackCookie(LocalizableMessage newMessage,
                                       HTTPState state)
Deprecated. 
Adds a message to the session cookie storing feedback from server to client

Parameters:
newMessage - message to be stored
state - state object of template processor or other caller

getFeedbackCookieExceptions

public static Vector getFeedbackCookieExceptions(boolean deleteFromCookie,
                                                 HTTPState state)
Deprecated. 
Gets exceptions stored in the session cookie holding feedback from server to client

Parameters:
deleteFromCookie - true if exceptions should be deleted from cookie after retrieval
state - state object of template processor or other caller
Returns:
vector of Exceptions

getFeedbackCookieMessages

public static Vector getFeedbackCookieMessages(boolean deleteFromCookie,
                                               HTTPState state)
Deprecated. 
Gets messages stored in the session cookie holding feedback from server to client

Parameters:
deleteFromCookie - true if exceptions should be deleted from cookie after retrieval
state - state object of template processor or other caller
Returns:
vector of LocalizableMessages

getTemplateDisplay

public void getTemplateDisplay(Properties properties,
                               Locale locale,
                               OutputStream os)
                        throws WTException
Deprecated. 
Method to display the template property of an object along with its availability for use. This method is common to all Templateable objects that is objects that implement interface Templateable like Parts,Documents etc. All Templateable objects should have their own service or a separate TemplateProcessor, when more methods that act on Templateables need to be added.

Parameters:
locale -
os -
Throws:
WTException

getMessageSeparator

public void getMessageSeparator(Properties params,
                                Locale locale,
                                OutputStream os)
Deprecated. 
Method to provide DefaultTemplateProcessor.MESSAGE_SEPARATOR string to page, typically for use as a variable within a Javascript method for concatenating or parsing.

Parameters:
locale -
os -