wt.notify
Class ValueTableCellComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.HTMLTableCellComponent
wt.notify.ValueTableCellComponent
- public class ValueTableCellComponent
- extends HTMLTableCellComponent
ValueTableCellComponent is a table cell that display a drop down list
of values. This component will either display a drop down list or
a string, depending on what is set in the HTMLValueObject.
Supported API: false
Extendable: false
Fields inherited from class wt.templateutil.components.HTMLTableCellComponent |
ALIGN, BGCOLOR, COLSPAN, HEIGHT, NOWRAP, ROWSPAN, showBold, TAG, TD_ALIGN, TD_CLASS, TD_COLSPAN, TD_HEIGHT, TD_ID, TD_NOWRAP, TD_ROWSPAN, TD_VALIGN, TD_WIDTH, VALIGN, WIDTH |
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, UPDATE, VIEW |
Methods inherited from class wt.templateutil.components.HTMLComponent |
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, 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 |
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
VERBOSE
private static final boolean VERBOSE
selectComponent
private HTMLSelectComponent selectComponent
stringComponent
private DefaultStringComponent stringComponent
ValueTableCellComponent
public ValueTableCellComponent()
init
public void init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
Supported API: false
- Overrides:
init
in class HTMLTableCellComponent
- Parameters:
selector
- value
- componentFactory
- mode
- props
-
show
public String show(Object value,
Properties formData,
OutputStream os,
Locale locale)
- The show method will either display a drop down list of values or
an empty string. The HTMLValueObject.getDisplayObject will either be a 2
dimensional array of values to be displayed or a single string.
Supported API: false
- Overrides:
show
in class HTMLComponent
- Parameters:
value
- formData
- os
- locale
-
- Returns:
- String