afterProcessing

This event occurs after insert, update, delete actions. It can be used to pass additional values to client side.

Example of usage:

//adds new xml as a child of default <action> tag which is passed to client side as response
class CustomBehavior extends ConnectorBehavior{
    @Override 
    public void beforeProcessing(DataAction data) {
        data.set_response_xml("<guid>some value</guid>");
    } 
}
component.event.attach(new CustomBehavior());
Back to top