Please is there a way to get an ajax Behavior call string such as * wicket:interface=:1:homeScreen:helpForm:helpContainer:clientName:label::IBehaviorListener:0: * before rendering occurs? That is the Query String from a Label with an AjaxEditableBehavior
On Mon, May 3, 2010 at 2:03 PM, Ayodeji Aladejebi <aladej...@gmail.com>wrote: > Yeah thanks that worked ! > > > On Mon, May 3, 2010 at 1:47 PM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > >> On 2. Can you just retrieve the URL and use that to decide? >> >> Best, >> >> Ernesto >> >> On Mon, May 3, 2010 at 2:40 PM, Ayodeji Aladejebi <aladej...@gmail.com> >> wrote: >> > 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 >> >> >> >> >> > >> > >> > -- >> >> >> --------------------------------------------------------------------- >> 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 > -- Aladejebi Ayodeji A., DabarObjects Solutions Phone: +234 9 875 1763 Mobile: +234 803 589 1780 Email: d...@dabarobjects.com Web: www.dabarobjects.com