Re: Configure AjaxRequestAttributes globally?
i have one idea,not sure if it's good, what if IRequestCycleListener contributes in requestcycle's metadata and AbstractDefaultAjaxBehavior checks it from there,if found populate AjaxRequestAttribute with that when it's constructed.. On Wed, Jan 9, 2013 at 3:07 PM, Martin Grigorov wrote: > I see it the same as how AjaxRequestHandler is created. > > > On Wed, Jan 9, 2013 at 11:00 AM, Thomas Götz wrote: > >> Done: https://issues.apache.org/jira/browse/WICKET-4958 >> >> Any hint/idea how this could be implemented, maybe I'll have a look at >> this …?! >> >>-Tom >> >> >> On 09.01.2013, at 08:58, Martin Grigorov wrote: >> >> > Hi Thomas, >> > >> > No, there is no way to do what you need at the momemt. >> > Please file a ticket for improvement. >> > >> > >> > On Wed, Jan 9, 2013 at 1:13 AM, Thomas Götz wrote: >> > >> >> Is there a way to manipulate/configure AjaxRequestAttributes globally >> (in >> >> Wicket 6.x)? My usecase: in every AJAX request I want to include some >> >> dynamicExtraParameters, i.e. client side information. Or is the only >> way to >> >> do this to hook into one of the global ajax channels (e.g. >> >> "/ajax/call/before") and manipulate the attributes object directly? I'd >> >> prefer if there was a Java API for this, but maybe I just haven't found >> it >> >> yet!? ;-) >> >> >> >> -Tom >> > >> > -- >> > Martin Grigorov >> > jWeekend >> > Training, Consulting, Development >> > http://jWeekend.com <http://jweekend.com/> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> -- regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Configure AjaxRequestAttributes globally?
I see it the same as how AjaxRequestHandler is created. On Wed, Jan 9, 2013 at 11:00 AM, Thomas Götz wrote: > Done: https://issues.apache.org/jira/browse/WICKET-4958 > > Any hint/idea how this could be implemented, maybe I'll have a look at > this …?! > >-Tom > > > On 09.01.2013, at 08:58, Martin Grigorov wrote: > > > Hi Thomas, > > > > No, there is no way to do what you need at the momemt. > > Please file a ticket for improvement. > > > > > > On Wed, Jan 9, 2013 at 1:13 AM, Thomas Götz wrote: > > > >> Is there a way to manipulate/configure AjaxRequestAttributes globally > (in > >> Wicket 6.x)? My usecase: in every AJAX request I want to include some > >> dynamicExtraParameters, i.e. client side information. Or is the only > way to > >> do this to hook into one of the global ajax channels (e.g. > >> "/ajax/call/before") and manipulate the attributes object directly? I'd > >> prefer if there was a Java API for this, but maybe I just haven't found > it > >> yet!? ;-) > >> > >> -Tom > > > > -- > > Martin Grigorov > > jWeekend > > Training, Consulting, Development > > http://jWeekend.com <http://jweekend.com/> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
Re: Configure AjaxRequestAttributes globally?
Done: https://issues.apache.org/jira/browse/WICKET-4958 Any hint/idea how this could be implemented, maybe I'll have a look at this …?! -Tom On 09.01.2013, at 08:58, Martin Grigorov wrote: > Hi Thomas, > > No, there is no way to do what you need at the momemt. > Please file a ticket for improvement. > > > On Wed, Jan 9, 2013 at 1:13 AM, Thomas Götz wrote: > >> Is there a way to manipulate/configure AjaxRequestAttributes globally (in >> Wicket 6.x)? My usecase: in every AJAX request I want to include some >> dynamicExtraParameters, i.e. client side information. Or is the only way to >> do this to hook into one of the global ajax channels (e.g. >> "/ajax/call/before") and manipulate the attributes object directly? I'd >> prefer if there was a Java API for this, but maybe I just haven't found it >> yet!? ;-) >> >> -Tom > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com <http://jweekend.com/> - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Configure AjaxRequestAttributes globally?
Hi Thomas, No, there is no way to do what you need at the momemt. Please file a ticket for improvement. On Wed, Jan 9, 2013 at 1:13 AM, Thomas Götz wrote: > Is there a way to manipulate/configure AjaxRequestAttributes globally (in > Wicket 6.x)? My usecase: in every AJAX request I want to include some > dynamicExtraParameters, i.e. client side information. Or is the only way to > do this to hook into one of the global ajax channels (e.g. > "/ajax/call/before") and manipulate the attributes object directly? I'd > prefer if there was a Java API for this, but maybe I just haven't found it > yet!? ;-) > >-Tom > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
Configure AjaxRequestAttributes globally?
Is there a way to manipulate/configure AjaxRequestAttributes globally (in Wicket 6.x)? My usecase: in every AJAX request I want to include some dynamicExtraParameters, i.e. client side information. Or is the only way to do this to hook into one of the global ajax channels (e.g. "/ajax/call/before") and manipulate the attributes object directly? I'd prefer if there was a Java API for this, but maybe I just haven't found it yet!? ;-) -Tom - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org