ERXWOForm Class Reference

Collaboration diagram for ERXWOForm:

Collaboration graph
[legend]

List of all members.

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)


Constructor & Destructor Documentation

ERXWOForm ( String  name,
NSDictionary  associations,
WOElement  element 
)


Member Function Documentation

void _appendHiddenFieldsToResponse ( WOResponse  response,
WOContext  context 
) [protected]

void _clearEnctype (  )  [protected]

void _clearFormName ( WOContext  context,
String  previousFormName,
boolean  wasInForm 
) [protected]

boolean _disabled ( WOContext  context  )  [protected]

String _enctype ( WOContext  context  )  [protected]

boolean _enterFormInContext ( WOContext  context  )  [protected]

void _exitFormInContext ( WOContext  context,
boolean  wasInForm,
boolean  wasFormSubmitted 
) [protected]

String _formName ( WOContext  context  )  [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]

static String formName ( WOContext  context,
String  defaultName 
) [static]

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.

Parameters:
context current context
defaultName default name to use
Returns:
form name in context or default value

NSDictionary hiddenFieldsInContext ( WOContext  context,
boolean  hasActionClass 
) [private]

WOActionResults invokeAction ( WORequest  worequest,
WOContext  context 
)

void takeValuesFromRequest ( WORequest  request,
WOContext  context 
)

String toString (  ) 


Member Data Documentation

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]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:06 2012 for Project Wonder by  doxygen 1.5.8