ERXResponseComponent Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXResponseComponent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void appendToResponse (WOResponse aResponse, WOContext aContext)
 ERXResponseComponent (WOContext context)
WOActionResults invokeAction (WORequest request, WOContext context)
void setActionResults (WOActionResults results)
void setComponent (WOComponent results)
void setResponse (WOResponse response)
void takeValuesFromRequest (WORequest request, WOContext context)

Protected Attributes

WOComponent _component
WOResponse _response


Detailed Description

Handy component when you need to return a WOActionResults and the interface requires a WOComponent.

Author:
ak

Constructor & Destructor Documentation

ERXResponseComponent ( WOContext  context  ) 


Member Function Documentation

void appendToResponse ( WOResponse  response,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.appendToResponse.

Parameters:
response to which we are appending
context context of the response

Reimplemented from ERXNonSynchronizingComponent.

WOActionResults invokeAction ( WORequest  request,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.invokeAction.

Parameters:
request for which the action is invoked
context of the request
Returns:
the result of invoking the action

Reimplemented from ERXNonSynchronizingComponent.

void setActionResults ( WOActionResults  results  ) 

void setComponent ( WOComponent  results  ) 

void setResponse ( WOResponse  response  ) 

void takeValuesFromRequest ( WORequest  request,
WOContext  context 
)

Calls resetCachedBindingsInStatefulComponent prior to super.takeValuesFromRequest.

Parameters:
request from which the values will be taken
context of the request

Reimplemented from ERXNonSynchronizingComponent.


Member Data Documentation

WOComponent _component [protected]

WOResponse _response [protected]


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