you can always override getcallbackurl() and append a marker parameter
you can use to differentiate between the different modes.

-igor

On Mon, Jul 27, 2009 at 12:31 PM, Vladimir K<koval...@gmail.com> wrote:
>
> I'm trying to add AjaxFormComponentUpdating behavior to FormComponentPanel.
> The latter is inherintly  not suited for Ajax requests. So I have to use
> some workarounds to update model of FormComponentPanel by ajax update on
> "onblur" js event on inner input, see code posted here. It works for now but
> I'm afraid I should bypass updating of model when whole form is submitted
> via ajax. So I'm trying to figure out what particular behavior is in
> progress.
>
> From the other hand you probably know different way how to add
> AjaxFormComponentUpdatingBehaviour to DateField component. Any thoughts are
> welcome.
>
>
> igor.vaynberg wrote:
>>
>> you can use AjaxRequestTarget.get() to see if an ajax request is being
>> processed.
>>
>> -igor
>>
>> On Mon, Jul 27, 2009 at 5:41 AM, Vladimir K<koval...@gmail.com> wrote:
>>>
>>> Could anyone shed light on that?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-determine-which-behavior-corresponds-to-the-currently-handled--request-target-tp24635282p24680015.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/How-to-determine-which-behavior-corresponds-to-the-currently-handled--request-target-tp24635282p24686879.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to