wt.templateutil.components
Class HTMLUrlAwareTextFieldComponent
java.lang.Object
wt.templateutil.components.HTMLComponent
wt.templateutil.components.DefaultHTMLComponent
wt.templateutil.components.HTMLJavaScriptComponent
wt.templateutil.components.HTMLUrlAwareTextFieldComponent
- public class HTMLUrlAwareTextFieldComponent
- extends HTMLJavaScriptComponent
This is an aggregate component: it is a textfield with a button next to it. When
you click on the button, the URL in the textfield is opened in a new window.
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, 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 String RESOURCE
NAME
private static final String NAME
- See Also:
- Constant Field Values
componentName
private String componentName
- The name of the text input field. The button's click event handler takes this name as a parameter.
HTMLUrlAwareTextFieldComponent
public HTMLUrlAwareTextFieldComponent(String componentName)
init
public void init(String selector,
Object value,
HTMLComponentFactory componentFactory,
String mode,
Properties props)
- Description copied from class:
HTMLJavaScriptComponent
- The javaScriptManager is grabbed from props.
- Overrides:
init
in class HTMLJavaScriptComponent