public class ERXSubmitButton extends com.webobjects.appserver._private.WOInput
<button> tags instead of
<input> tags. This allows you to use HTML content and superior style
features.
Unfortunately, IE is totally broken and always submits all buttons on a page, which makes it unusable for actions. So this component inserts some javascript to fix this. Of course, this means your button is only usable with scripting turned on in IE.
You can add this class via ERXPatcher.setClassForName(ERXSubmitButton.class, "WOSubmitButton"); and see how this works out or use it explicitely. If you just patch it into the system, the value is used as the content, otherwise you can put any html you like into it.
| Name | Description |
|---|---|
er.extensions.components._private.ERXSubmitButton.useIEFix opt-out | er.extensions.components._private.ERXSubmitButton.useIEFix opt-out |
| Modifier and Type | Field and Description |
|---|---|
protected WOAssociation |
_action |
protected WOAssociation |
_actionClass |
protected WOAssociation |
_directActionName |
protected WOAssociation |
_shouldSubmitForm |
static String |
STYLE_PREFIX |
_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 |
|---|
ERXSubmitButton(String arg0,
NSDictionary<String,WOAssociation> nsdictionary,
WOElement arg2) |
_appendDisabledAttributeToResponse, _appendValueAttributeToResponse, defaultEscapeHTML, escapeHTMLInContext, hasContent, hiddenInContext, isValueInInputValues, nameInContext, nameInContext, valueStringInContext__otherQueryDictionaryInContext, __queryDictionaryInContext, _appendAttributesFromAssociationsToResponse, _appendClassAndIdToResponse, _appendTagAttributeAndValueToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendHiddenFieldToResponse, appendNonURLAttributesToResponse, appendURLAttributesToResponse, classInContext, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributeAssociations, constantAttributesRepresentation, elementName, escapeHTML, idInContext, isRenderedInContext, nonUrlAttributeAssociations, prefixInContext, secureInContext, stringValueInContext, styleInContext, suffixInContext, titleInContext, urlAttributeAssociationsaddChildElement, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequestpublic static final String STYLE_PREFIX
protected WOAssociation _action
protected WOAssociation _actionClass
protected WOAssociation _directActionName
protected WOAssociation _shouldSubmitForm
public ERXSubmitButton(String arg0, NSDictionary<String,WOAssociation> nsdictionary, WOElement arg2)
public static void appendIEButtonFixToResponse(WOContext wocontext, WOResponse woresponse)
protected boolean isDisabledInContext(WOContext context)
isDisabledInContext in class com.webobjects.appserver._private.WOInputprotected String type()
type in class com.webobjects.appserver._private.WOInputpublic String toString()
toString in class com.webobjects.appserver._private.WOInputpublic void takeValuesFromRequest(WORequest worequest, WOContext wocontext)
takeValuesFromRequest in class com.webobjects.appserver._private.WOInputprotected void _appendOpenTagToResponse(WOResponse woresponse, WOContext wocontext)
_appendOpenTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElementpublic void appendAttributesToResponse(WOResponse woresponse, WOContext wocontext)
appendAttributesToResponse in class com.webobjects.appserver._private.WOInputprotected void _appendTypeAttributeToResponse(WOResponse response, WOContext context)
_appendTypeAttributeToResponse in class com.webobjects.appserver._private.WOInputprotected void _appendCloseTagToResponse(WOResponse woresponse, WOContext wocontext)
_appendCloseTagToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElementpublic WOActionResults invokeAction(WORequest worequest, WOContext wocontext)
invokeAction in class com.webobjects.appserver._private.WODynamicGrouppublic void appendChildrenToResponse(WOResponse woresponse, WOContext wocontext)
appendChildrenToResponse in class com.webobjects.appserver._private.WODynamicGroupprotected void _appendNameAttributeToResponse(WOResponse woresponse, WOContext wocontext)
_appendNameAttributeToResponse in class com.webobjects.appserver._private.WOInputpublic void appendToResponse(WOResponse woresponse, WOContext wocontext)
appendToResponse in class com.webobjects.appserver._private.WOHTMLDynamicElementCopyright © 2002 – 2025 Project Wonder.