Re: AjaxUpload and BeanEditContext

2015-05-29 Thread Peter Hvass
*tumble weeds* :) I'll have another crack at this some time and update with results but will keep these cookies fresh in case anyone has any ideas! *Peter Anders Hvass* - *http://theru.in http://theru.in* On Fri, May 22, 2015 at 4:25 PM, Peter Hvass pe...@theru.in wrote: Hello all, tl;dr -

Re: AjaxUpload and BeanEditContext

2015-05-29 Thread Lance Java
You can probably contribute a ComponentEventRequestFilter to the ComponentEventRequestHandler. I always find the diagram at the bottom of this page useful http://tapestry.apache.org/request-processing.html

Re: AjaxUpload and BeanEditContext

2015-05-29 Thread Chris Poulsen
I dont know if it is enough to wrap the upload component and have the wrapper's handler push BEC, trigger custom event with callback result, pop BEC after trigger returns and then return the callback result to the inner handler? On Fri, May 29, 2015 at 3:56 PM, Lance Java

Re: AjaxUpload and BeanEditContext

2015-05-29 Thread Lance Java
Another option is adding a mixin to the AjaxUpload. And perhaps attach it to every instance using a ComponentClassTransformWorker2 eg: https://tawus.wordpress.com/2011/08/01/tapestry-mixins-classtransformations/