Class HTMLBusinessComponent

Direct Known Subclasses:
DefaultBusinessComponent, EnumeratedAttribute, TimeStampComponent

public abstract class HTMLBusinessComponent extends DefaultHTMLComponent
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
  • Method Details

    • 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 -