wt.templateutil.components
Class HTMLBusinessComponent

java.lang.Object
  extended by wt.templateutil.components.HTMLComponent
      extended by wt.templateutil.components.DefaultHTMLComponent
          extended by wt.templateutil.components.HTMLBusinessComponent
Direct Known Subclasses:
DefaultBusinessComponent, EnumeratedAttribute, TimeStampComponent

Deprecated.

public abstract class HTMLBusinessComponent
extends DefaultHTMLComponent

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


Field Summary
 
Fields inherited from class wt.templateutil.components.HTMLComponent
DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, PRINT_TAG_ATTR, SERVICENAME
 
Method Summary
 String getFormComponentSelector()
          Deprecated.  
 String getFormElementName()
          Deprecated.  
 String getMode()
          Deprecated.  
abstract  Object getPresentationObject(Object value, Properties formData, Locale locale)
          Deprecated.  
 void init(String selector, Object value, HTMLComponentFactory componentFactory, String mode, Properties props)
          Deprecated.  
 void setFormComponentSelector(String a_FormComponentSelector)
          Deprecated.  
 void setFormElementName(String a_FormElementName)
          Deprecated.  
 void setMode(String a_Mode)
          Deprecated.  
 String show(Object value, Properties formData, OutputStream os, Locale locale)
          Deprecated.  
 
Methods inherited from class wt.templateutil.components.DefaultHTMLComponent
endComponent, setTagListArray, startComponent
 
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, showSubComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMode

public String getMode()
Deprecated. 

Gets the value of the attribute: mode.

Supported API: true

Returns:
String

setMode

public void setMode(String a_Mode)
Deprecated. 

Sets the value of the attribute: mode.

Supported API: true

Parameters:
a_Mode -

getFormElementName

public String getFormElementName()
Deprecated. 

Gets the value of the attribute: formElementName.

Supported API: true

Returns:
String

setFormElementName

public void setFormElementName(String a_FormElementName)
Deprecated. 

Sets the value of the attribute: formElementName.

Supported API: true

Parameters:
a_FormElementName -

getFormComponentSelector

public String getFormComponentSelector()
Deprecated. 

Gets the value of the attribute: formComponentSelector.

Supported API: true

Returns:
String

setFormComponentSelector

public void setFormComponentSelector(String a_FormComponentSelector)
Deprecated. 

Sets the value of the attribute: formComponentSelector.

Supported API: true

Parameters:
a_FormComponentSelector -

getPresentationObject

public abstract Object getPresentationObject(Object value,
                                             Properties formData,
                                             Locale locale)
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

public String show(Object value,
                   Properties formData,
                   OutputStream os,
                   Locale locale)
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:
show in class HTMLComponent
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:
init in class DefaultHTMLComponent
Parameters:
selector -
value -
componentFactory -
mode -
props -