wt.doc
Class InputTextComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.DefaultHTMLComponent
wt.templateutil.components.HTMLBusinessComponent
wt.templateutil.components.DefaultBusinessComponent
wt.doc.InputTextComponent
- All Implemented Interfaces:
- Serializable
- public class InputTextComponent
- extends DefaultBusinessComponent
- implements Serializable
An input text component for HTML that is named with the comment:oid.
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Fields inherited from class wt.templateutil.components.HTMLComponent |
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID, ID_US_ENGLISH_LOCALE, NAME, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, TAG, UPDATE, VIEW |
Methods inherited from class wt.templateutil.components.HTMLComponent |
appendID, appendID, appendToID, appendToID, createIDForComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTag, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, 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 |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
form_name
private String form_name
COMMENT
public static String COMMENT
SEPARATOR
public static String SEPARATOR
NO_OID
public static String NO_OID
VERBOSE
public static boolean VERBOSE
InputTextComponent
public InputTextComponent()
init
public void init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
Supported API: false
- Overrides:
init
in class HTMLBusinessComponent
- Parameters:
selector
- value
- componentFactory
- mode
- props
-
show
public String show(Object value,
Properties formData,
OutputStream os,
Locale locale)
- Description copied from class:
HTMLBusinessComponent
- 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 HTMLBusinessComponent
- Parameters:
value
- formData
- os
- locale
-
- Returns:
- String