Or... I assume the listener will only be called once, when the first request
is sent, if there's queued events? If so even JavaScript trick won't do the
trick.

On 9/19/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
>
> Hello Adam,
>
> See comments inline.
>
> Thanks,
>
> ~ Simon
>
> On 9/19/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> >
> > A couple problems:
> > - It'd be easy enough to list the replaced targets when going from
> > busy->ready,
> >   but on ready->busy, we don't know what is going to be replaced (the
> > server
> >   will figure that out).
>
>
> Yeah, that's why we want to place the icon beside the source, not the
> replaced items. Not as intuitive, but at least tell the user there's
> something going on. We want that mainly for some dynamic LoV that sometimes
> requires a database query requiring a 1~2 second delay, and the marketing
> somehow does not like GMail style that much, although I might be able to
> have it accepted if the other solution is not possible.
>
> - If you have a series of queued events, you don't get busy->ready until
> >   all are completed, so if we had this, you'd see a series of icons show
> >   up one by one, and none would go away until all the requests
> > completed.
>
>
> Ah, that's indeed a show stopper. Unless I do some little JavaScript trick
> in the listener to make sure only one icon is visible at a time.
>
> -- Adam
> >
> >
> > On 9/19/07, Simon Lessard < [EMAIL PROTECTED]> wrote:
> > > Hello all,
> > >
> > > Is there a way to get the PPR source node form a JS
> > StateChangeListener?
> > > Maybe from TrPage or from TrRequestQueue? The use case would be an
> > icon
> > > (status indicator like) placed beside input fields and showing only
> > when the
> > > input sent a PPR request.
> > >
> > >
> > > Regards,
> > >
> > > ~ Simon
> > >
> >
>
>

Reply via email to