Allen,

Is this what yo uneed?

http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/#more-302

Regards - Cemal
jWeekend
Training, Consulting, Development
http://jWeekend.com

On 29 December 2011 16:28, Allen Gilbert <allen.gilb...@doane.edu> wrote:
>
> Ernesto,
>
> Interesting...I've only used IAjaxIndicatorAware to display a loading gif,
> but it might solve this problem if I can get it to nicely show and hide a
> div that a) blocks the user from interacting with my panel and b) shows a
> loading indicator.  I'll try it out.  Thanks!
>
> -Allen
>
> On Thu, Dec 29, 2011 at 3:40 AM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > Allen,
> >
> > Isn't it possible to make the panel implement IAjaxIndicatorAware?
> >
> > Regards,
> >
> > Ernesto
> >
> > On Wed, Dec 28, 2011 at 11:41 PM, Allen Gilbert <allen.gilb...@doane.edu
> > >wrote:
> >
> > > Hello,
> > >
> > > I have a Panel containing many child components that perform various ajax
> > > actions.  Whenever an ajax request is initiated from the panel or any of
> > > its children, I'd like to show an indicator on the panel and block user
> > > interaction with it.  However, I don't want the indicator to be shown for
> > > ajax requests initiated by other components on the page.  Is there a way
> > to
> > > access the context of an ajax request in a javascript pre- or post-ajax
> > > call handler in order to determine what component is initiating the
> > > request?  Looking at wicket-ajax.js, there doesn't seem to be.
> > >
> > > Alternatively, is there a way to decorate all ajax request javascript
> > for a
> > > panel's child components?  I'd like to avoid having to modify every ajax
> > > behavior of the Panel's child components in order to show the activity
> > > indicator on the panel.
> > >
> > > -Allen
> > >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to