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 com.webobjects.appserver.WOAssociation |
_focus |
protected com.webobjects.appserver.WOAssociation |
_onEnter |
protected com.webobjects.appserver.WOAssociation |
_onKeyPress |
protected com.webobjects.appserver.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
Constructor and Description |
---|
FocusTextField(String tagname,
NSDictionary nsdictionary,
com.webobjects.appserver.WOElement woelement) |
Modifier and Type | Method and Description |
---|---|
protected void |
_appendAttributesFromAssociationsToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext wocontext,
NSDictionary nsdictionary) |
static void |
_appendAttributesFromAssociationsToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext wocontext,
String id,
String onKeyPress,
String onEnterScript) |
static void |
appendJavascriptToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context,
String id,
boolean focus,
boolean selectAll,
String onEnterScript) |
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Overridden to make output XML compatible.
|
String |
id(com.webobjects.appserver.WOComponent component,
com.webobjects.appserver.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
protected com.webobjects.appserver.WOAssociation _selectAll
protected com.webobjects.appserver.WOAssociation _focus
protected com.webobjects.appserver.WOAssociation _onEnter
protected com.webobjects.appserver.WOAssociation _onKeyPress
public FocusTextField(String tagname, NSDictionary nsdictionary, com.webobjects.appserver.WOElement woelement)
public String id(com.webobjects.appserver.WOComponent component, com.webobjects.appserver.WOContext context)
public void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
ERXWOTextField
appendToResponse
in class ERXWOTextField
protected void _appendAttributesFromAssociationsToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext wocontext, NSDictionary nsdictionary)
_appendAttributesFromAssociationsToResponse
in class com.webobjects.appserver._private.WOHTMLDynamicElement
public static void _appendAttributesFromAssociationsToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext wocontext, String id, String onKeyPress, String onEnterScript)
Copyright © 2002 – 2020 Project Wonder.