
Public Member Functions | |
| void | appendAttributesToResponse (WOResponse response, WOContext context) |
| void | appendChildrenToResponse (WOResponse response, WOContext context) |
| void | appendToResponse (WOResponse response, WOContext context) |
| ERXWOForm (String name, NSDictionary associations, WOElement element) | |
| WOActionResults | invokeAction (WORequest worequest, WOContext context) |
| void | takeValuesFromRequest (WORequest request, WOContext context) |
| String | toString () |
Static Public Member Functions | |
| static String | formName (WOContext context, String defaultName) |
Static Public Attributes | |
| static boolean | addDefaultSubmitButtonDefault = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.addDefaultSubmitButtonDefault", false) |
| static boolean | multipleSubmitDefault = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.multipleSubmitDefault", false) |
| static boolean | useIdInsteadOfNameTag = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.useIdInsteadOfNameTag", false) |
Protected Member Functions | |
| void | _appendHiddenFieldsToResponse (WOResponse response, WOContext context) |
| void | _clearEnctype () |
| void | _clearFormName (WOContext context, String previousFormName, boolean wasInForm) |
| boolean | _disabled (WOContext context) |
| String | _enctype (WOContext context) |
| boolean | _enterFormInContext (WOContext context) |
| void | _exitFormInContext (WOContext context, boolean wasInForm, boolean wasFormSubmitted) |
| String | _formName (WOContext context) |
| void | _setEnctype (String enctype) |
| String | _setFormName (WOContext context, boolean wasInForm) |
| boolean | _shouldAppendFormTags (WOContext context, boolean wasInForm) |
| String | cgiAction (WOResponse response, WOContext context, boolean secure) |
Protected Attributes | |
| WOAssociation | _action |
| WOAssociation | _actionClass |
| WOAssociation | _addDefaultSubmitButton |
| WOAssociation | _directActionName |
| WOAssociation | _embedded |
| WOAssociation | _href |
| WOAssociation | _multipleSubmit |
| NSDictionary | _otherQueryAssociations |
| WOAssociation | _queryDictionary |
Package Attributes | |
| WOAssociation | _disabled |
| WOAssociation | _enctype |
| WOAssociation | _formName |
| WOAssociation | _fragmentIdentifier |
| WOAssociation | _id |
| WOAssociation | _secure |
Static Package Attributes | |
| static final Logger | log = Logger.getLogger(ERXWOForm.class) |
Private Member Functions | |
| NSDictionary | hiddenFieldsInContext (WOContext context, boolean hasActionClass) |
| void _appendHiddenFieldsToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) | [protected] |
| void _clearEnctype | ( | ) | [protected] |
| void _clearFormName | ( | WOContext | context, | |
| String | previousFormName, | |||
| boolean | wasInForm | |||
| ) | [protected] |
| boolean _disabled | ( | WOContext | context | ) | [protected] |
| boolean _enterFormInContext | ( | WOContext | context | ) | [protected] |
| void _exitFormInContext | ( | WOContext | context, | |
| boolean | wasInForm, | |||
| boolean | wasFormSubmitted | |||
| ) | [protected] |
| void _setEnctype | ( | String | enctype | ) | [protected] |
| String _setFormName | ( | WOContext | context, | |
| boolean | wasInForm | |||
| ) | [protected] |
| boolean _shouldAppendFormTags | ( | WOContext | context, | |
| boolean | wasInForm | |||
| ) | [protected] |
| void appendAttributesToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
| void appendChildrenToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
| void appendToResponse | ( | WOResponse | response, | |
| WOContext | context | |||
| ) |
| String cgiAction | ( | WOResponse | response, | |
| WOContext | context, | |||
| boolean | secure | |||
| ) | [protected] |
Retrieves the current FORM's name in the supplied context. If none is set (either the FORM is not a ERXWOForm or the context is not ERXMutableUserInfo) the supplied default value is used.
| context | current context | |
| defaultName | default name to use |
| NSDictionary hiddenFieldsInContext | ( | WOContext | context, | |
| boolean | hasActionClass | |||
| ) | [private] |
| WOActionResults invokeAction | ( | WORequest | worequest, | |
| WOContext | context | |||
| ) |
| void takeValuesFromRequest | ( | WORequest | request, | |
| WOContext | context | |||
| ) |
| String toString | ( | ) |
WOAssociation _action [protected] |
WOAssociation _actionClass [protected] |
WOAssociation _addDefaultSubmitButton [protected] |
WOAssociation _directActionName [protected] |
WOAssociation _disabled [package] |
WOAssociation _embedded [protected] |
WOAssociation _enctype [package] |
WOAssociation _formName [package] |
WOAssociation _fragmentIdentifier [package] |
WOAssociation _href [protected] |
WOAssociation _id [package] |
WOAssociation _multipleSubmit [protected] |
NSDictionary _otherQueryAssociations [protected] |
WOAssociation _queryDictionary [protected] |
WOAssociation _secure [package] |
boolean addDefaultSubmitButtonDefault = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.addDefaultSubmitButtonDefault", false) [static] |
final Logger log = Logger.getLogger(ERXWOForm.class) [static, package] |
boolean multipleSubmitDefault = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.multipleSubmitDefault", false) [static] |
boolean useIdInsteadOfNameTag = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXWOForm.useIdInsteadOfNameTag", false) [static] |
1.5.8