public class FocusTextField extends ERXWOTextField
Name | Description |
---|---|
id | the id the textfield |
selectAll | if true, the text will default to be selected |
focus | if false, focus will not be grabbed |
onEnter | javascript to execute when the enter key is pressed |
Modifier and Type | Field and Description |
---|---|
protected WOAssociation |
_focus |
protected WOAssociation |
_onEnter |
protected WOAssociation |
_onKeyPress |
protected WOAssociation |
_selectAll |
_blankIsNull, _dateFormat, _formatter, _numberFormat, _readonly, _useDecimalNumber
_disabled, _escapeHTML, _hidden, _name, _value
_associations, _class, _constantAttributeAssociations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization, _generatedId, _id, _prefix, _rendered, _secure, _style, _suffix, _title, DontEscapeHTML, EscapeHTML
_children
_ConstructorParameters
Constructor and Description |
---|
FocusTextField(String tagname,
NSDictionary nsdictionary,
WOElement woelement) |
Modifier and Type | Method and Description |
---|---|
protected void |
_appendAttributesFromAssociationsToResponse(WOResponse response,
WOContext wocontext,
NSDictionary nsdictionary) |
static void |
_appendAttributesFromAssociationsToResponse(WOResponse response,
WOContext wocontext,
String id,
String onKeyPress,
String onEnterScript) |
static void |
appendJavascriptToResponse(WOResponse response,
WOContext context,
String id,
boolean focus,
boolean selectAll,
String onEnterScript) |
void |
appendToResponse(WOResponse response,
WOContext context)
Overridden to make output XML compatible.
|
String |
id(WOComponent component,
WOContext context) |
_appendCloseTagToResponse, _appendValueAttributeToResponse, isDisabledInContext, isReadonlyInContext, takeValuesFromRequest, toString, type
_appendDisabledAttributeToResponse, _appendNameAttributeToResponse, _appendTypeAttributeToResponse, appendAttributesToResponse, defaultEscapeHTML, escapeHTMLInContext, hasContent, hiddenInContext, isValueInInputValues, nameInContext, nameInContext, valueStringInContext
__otherQueryDictionaryInContext, __queryDictionaryInContext, _appendClassAndIdToResponse, _appendOpenTagToResponse, _appendTagAttributeAndValueToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendHiddenFieldToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, classInContext, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributeAssociations, constantAttributesRepresentation, elementName, escapeHTML, idInContext, isRenderedInContext, nonUrlAttributeAssociations, prefixInContext, secureInContext, stringValueInContext, styleInContext, suffixInContext, titleInContext, urlAttributeAssociations
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest
protected WOAssociation _selectAll
protected WOAssociation _focus
protected WOAssociation _onEnter
protected WOAssociation _onKeyPress
public FocusTextField(String tagname, NSDictionary nsdictionary, WOElement woelement)
public String id(WOComponent component, WOContext context)
public void appendToResponse(WOResponse response, WOContext context)
ERXWOTextField
appendToResponse
in class ERXWOTextField
protected void _appendAttributesFromAssociationsToResponse(WOResponse response, WOContext wocontext, NSDictionary nsdictionary)
public static void _appendAttributesFromAssociationsToResponse(WOResponse response, WOContext wocontext, String id, String onKeyPress, String onEnterScript)
public static void appendJavascriptToResponse(WOResponse response, WOContext context, String id, boolean focus, boolean selectAll, String onEnterScript)
Copyright © 2002 – 2024 Project Wonder.