On 1. Thanks On 2. yeah which link was clicked or in another way, the component path which the ongoing request will refers to
What am trying to do: I allocate resources to each call from each request however some resources are not needed to be allocated during some ajax calls. i need to filter such requests by knowing who called them? On Mon, May 3, 2010 at 12:43 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Hi, > > > > > 1. is there a way to know from RequestCycle if a call is Ajax? > > AjaxRequestTarget.get() != null > > or > > ((WebRequestCycle)WebRequestCycle.get()).getWebRequest().isAjax(); > > > > > 2. is there a way to know which Link reference initiated a call from > > RequestCyclle? > > > Do you mean which Link was clicked? Isn't this encoded as a component > path on the URL? > > Ernesto > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: +234 9 875 1763 Mobile: +234 803 589 1780 Email: d...@dabarobjects.com Web: www.dabarobjects.com