Package wt.templateutil.components
Class DefaultHTMLComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.DefaultHTMLComponent
- Direct Known Subclasses:
HTMLBusinessComponent,IconFirstCellComponent,LatestVersionComponent
Deprecated.
This is the default HTML component for the template processing system.
This component simply displays the string of information passed to it
without any formatting HTML. It should rarely be used. In most cases
the subclasses should be used instead.
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.
Supported API: true
Extendable: false
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.
Supported API: true
Extendable: false
-
Field Summary
Fields inherited from class wt.templateutil.components.HTMLComponent
DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, PRINT_TAG_ATTR, SERVICENAME -
Method Summary
Modifier and TypeMethodDescriptionendComponent(Object value, OutputStream os, Locale locale) Deprecated.voidinit(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.startComponent(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.Methods inherited from class wt.templateutil.components.HTMLComponent
getHtmlComponents, getPrintWriter, getServiceName, getTag, getTagList, getTagSettings, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, setInheritStyle, setPrintTagAttributes, setServiceName, setTag, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show, showSubComponents
-
Method Details
-
init
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.Calls the super class init method.
Supported API: true- Overrides:
initin classHTMLComponent- Parameters:
selector-value-componentFactory-mode-props-
-
startComponent
Deprecated.This is the default implementation for startComponent. It should most likely be overridden in the subclass.
This implementation returns an empty String: ""
Supported API: true- Overrides:
startComponentin classHTMLComponent- Parameters:
Object-Properties-OutputStream-Locale-- Returns:
- String
-
endComponent
Deprecated.This is the default implementation for endComponent. It should most likely be overridden in the subclass.
This implementation returns an empty String: ""
Supported API: true- Overrides:
endComponentin classHTMLComponent- Parameters:
Object-OutputStream-Locale-- Returns:
- String
-