Hello,

I had a thorough look around before posting regarding this so I'm terribly
sorry if something skipped my attention.

1. I inject ComponentEventResultProcessor like so:
        @InjectService("AjaxComponentEventResultProcessor")
        private ComponentEventResultProcessor<Block> 
componentEventResultProcessor;

2. I wrap the above in a ComponentResultProcessorWrapper like so:
        ComponentResultProcessorWrapper callback = new
ComponentResultProcessorWrapper(
                                componentEventResultProcessor);

3. I trigger an event using ComponentResources and the above callback;
        componentResources_.triggerEvent(event_, getContextValues(), callback);

The event triggers, the event handler method is called but try as I might I
cannot get any sort of event handler return types to work. Nothing at all
happens. I am guessing I need to contribute my own
ComponentEventResultProcessor in order to implement processResultValue
accordingly? Before going down that path (if it is even the correct path to
follow) I just wanted to ask whether there is anything built-in that would
allow for listening for single or multiple zone updates called in or
returned by the event handler method.

Specifically I found;
MultiZoneUpdateEventResultProcessor (deprecated)
and a few other Ajax*EventResultProcessor classes which I'm currently
playing around with and trying to figure out.

Thanks,
Peter 


 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/ComponentEventResultProcessor-for-a-triggered-event-tp5715657.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to