Package wt.templateutil.components
Class HTMLBusinessComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.DefaultHTMLComponent
wt.templateutil.components.HTMLBusinessComponent
- Direct Known Subclasses:
DefaultBusinessComponent,EnumeratedAttribute,TimeStampComponent
Deprecated.
This abstract class contains common code used by components that display
information about primary business objects.
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 TypeMethodDescriptionDeprecated.Deprecated.getMode()Deprecated.abstract ObjectgetPresentationObject(Object value, Properties formData, Locale locale) Deprecated.voidinit(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.voidsetFormComponentSelector(String a_FormComponentSelector) Deprecated.voidsetFormElementName(String a_FormElementName) Deprecated.voidDeprecated.show(Object value, Properties formData, OutputStream os, Locale locale) Deprecated.Methods inherited from class wt.templateutil.components.DefaultHTMLComponent
endComponent, startComponentMethods 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, showSubComponents
-
Method Details
-
getMode
Deprecated.Gets the value of the attribute: mode.
Supported API: true- Returns:
- String
-
setMode
Deprecated.Sets the value of the attribute: mode.
Supported API: true- Parameters:
a_Mode-
-
getFormElementName
Deprecated.Gets the value of the attribute: formElementName.
Supported API: true- Returns:
- String
-
setFormElementName
Deprecated.Sets the value of the attribute: formElementName.
Supported API: true- Parameters:
a_FormElementName-
-
getFormComponentSelector
Deprecated.Gets the value of the attribute: formComponentSelector.
Supported API: true- Returns:
- String
-
setFormComponentSelector
Deprecated.Sets the value of the attribute: formComponentSelector.
Supported API: true- Parameters:
a_FormComponentSelector-
-
getPresentationObject
Deprecated.This abstract method must be implented by the subclasses to correctly return the BusinessObject that the component should present to the user. If the business object is a WtAttribute and the attribute value is null " : will be returned for the display string.
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- Parameters:
value-formData-locale-- Returns:
- Object
-
show
Deprecated.This method contains common code to show an HTMLBusinessComponent. It handles strings, WTAttributes, and any associated SubComponents. If the component is a WtAttribute and the property "preserveFormatting=true" in the MethodContext, the characters carriage return, line feed, '<', '>', and multiple adjacent spaces will be encoded for HTML display as "
", "
", "<", ">", and " ...", respectively. The preserveFormatting flag can be set using the Windchill script method DefaultTemplateProcessor.setMethodContextProperty().
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- Overrides:
showin classHTMLComponent- Parameters:
value-formData-os-locale-- Returns:
- String
-
init
public void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props) Deprecated.This method contains the common code to initialize an HTMLBusinessComponent in view, create, or update mode.
Supported API: true- Overrides:
initin classDefaultHTMLComponent- Parameters:
selector-value-componentFactory-mode-props-
-