https://github.com/got5/tapestry5-jquery/issues/244#issuecomment-36102130
On Wed, Feb 26, 2014 at 3:50 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 25 Feb 2014 21:30:39 -0300, Boris Horvat <horvat.z.bo...@gmail.com> > wrote: > > Sorry Thaigo, but I am not sure what you had in mind. >> >> If you think about >> >> That's something to avoid as much as possible. >> > > What are you talking about? > > > Well first I am not sure why is this the case. If tapestry supports >> passing configurations in this way then it should support passing >> functions when those configurations are expecting them. However I would be >> open to >> avoid doing this but I dont see a way to do it, other then overwriting >> javascript files and putting my code directly there. >> >> I was able to identify the scenario that leads to this problem. The >> ajaxUpload component needs to be surrounded by the zone, if that is not >> the >> case then a function can be passed without any issues. >> Sadly in my code the zone is necessary. >> >> I will try to reach to the tapestry5-jquery developer to see if he thinks >> this is a bug and can it be fixed. >> >> Thanks for the help and please if you have any idea how to avoid passing >> the function (that doesn't involve overwriting existing files) I will be >> happy to try it out. >> >> Cheers >> >> >> On Tue, Feb 25, 2014 at 3:10 AM, Thiago H de Paula Figueiredo < >> thiag...@gmail.com> wrote: >> >> On Mon, 24 Feb 2014 19:53:59 -0300, Boris Horvat < >>> horvat.z.bo...@gmail.com> >>> wrote: >>> >>> Anyone has any idea about this? :) >>> >>>> >>>> >>> I already gave you my suggestion. >>> >>> >>> -- >>> Thiago H. de Paula Figueiredo >>> Tapestry, Java and Hibernate consultant and developer >>> http://machina.com.br >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> >> >> > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Dmitry Gusev AnjLab Team http://anjlab.com