wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Santos <pedros...@gmail.com>
Subject Re: Click link lost during self updating
Date Thu, 01 Oct 2009 13:09:00 GMT
Hi, consider to use Wicket api like IVisitor to help keep your code clear

On Thu, Oct 1, 2009 at 10:00 AM, Alessandro Novarini <
a.novarini@sourcesense.com> wrote:

> Pedro,
>
> Thank you.
>
> This is indeed a solution, but it would mean rewriting the whole
> application. There are lots of components that need to be refreshed, and
> adding to each of them the behavior don't seem trivial.
>
> I'll give it a try anyway.
>
> Thank you
> Ale
>
> On Thu, Oct 1, 2009 at 1:17 PM, Pedro Santos <pedrosans@gmail.com> wrote:
>
> > I have a page that's refreshing its components every n seconds using
> > AbstractAjaxTimerBehavior.
> > Among these components there's a list of links.
> >
> > Would be nice if you apply AbstractAjaxTimerBehavior only to components
> > that
> > need to be updated. Than you don't get in trouble with your links...
> >
> > On Thu, Oct 1, 2009 at 7:45 AM, Ernesto Reinaldo Barreiro <
> > reiern70@gmail.com> wrote:
> >
> > > Is blocking the page with a "veil" while refreshing a valid solution?
> > That
> > > way users could not click on links while the page is refreshing...
> > >
> > > Best,
> > >
> > > Ernesto
> > >
> > > On Thu, Oct 1, 2009 at 12:37 PM, Alessandro Novarini <
> > > a.novarini@sourcesense.com> wrote:
> > >
> > > > Hello everybody,
> > > >
> > > > I've just subscribed to this ml, and even thou I searched past mails
> > > about
> > > > my problem, I couldn't find any hint.
> > > >
> > > > I have a page that's refreshing its components every n seconds using
> > > > AbstractAjaxTimerBehavior.
> > > > Among these components there's a list of links.
> > > >
> > > > If I try to click a link near the refresh interval, the request get
> > lost
> > > > because of the refresh.
> > > >
> > > > One of the solution I'm trying is to disable the refresh on the
> > > > onMouseDown,
> > > > and re-enabling it on the onMouseUp event, but this doesn't work as
> the
> > > > first event stops forever the ajax method call (the refresh).
> > > >
> > > > Every kind of help will be really appreciated :)
> > > >
> > > > Thank you in advance
> > > > Ale
> > > >
> > >
> >
> >
> >
> > --
> > Pedro Henrique Oliveira dos Santos
> >
>



-- 
Pedro Henrique Oliveira dos Santos

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message