The best approach here was probably not to copy the source of
ProgressiveDisplay and make some odd modifications to it. You haven't
described a specific case you need to account for here. If, for example,
you wanted to display some sort of a waiting modal box, you could show it
after a button is p
ProgressiveDisplay does almost exactly what I need, with a small exception.
On the same page, some actionlinks should trigger it, while others should
not. So today I hacked it to work the way I wanted...I'd appreciate it if
someone can tell me if I did something monumentally stupid!
I copied Progr
; > > > >>
> > > > >> ProgressiveDisplay's initial block may be used to display a
> > "loading"
> > > > >> message / spinning icon.
> > > > >> But I wouldn't recommend this component to be used just as a
>
> >> mechanism. Build your own component that may listen to certain
> events
> > > and
> > > >> show/hide itself as needed.
> > > >>
> > > >> ProgressiveDisplay is rather useful if you have expensive
> server-side
> > > >>
nd spinner icon
>> when
>>> an operation is taking place. For example, when saving changes, the
>> message
>>> would be "Saving..." If the page was loading, the message would be
>
> > >> can be loaded. The component will first show a placeholder and
> > immediately
> > >> send a separate request using XHR to the server to get the expensive
> > stuff.
> > >>
> > >> Best
> > >> Christian
> > >&
> >>
> >> Am 16.08.2012 um 23:05 schrieb George Ludwig:
> >>
> >> > I want to use ProgressiveDisplay to display a message and spinner icon
> >> when
> >> > a
e expensive stuff.
>>
>> Best
>> Christian
>>
>> Am 16.08.2012 um 23:05 schrieb George Ludwig:
>>
>> > I want to use ProgressiveDisplay to display a message and spinner icon
>> when
>> > an operation is taking place. For example, when savin
ng changes, the
> message
> > would be "Saving..." If the page was loading, the message would be
> > "Loading...".
> >
> > Is this an appropriate use of ProgressiveDisplay, or is there a better
> way?
> >
> > Second, when using "t:i
essage would be
> "Loading...".
>
> Is this an appropriate use of ProgressiveDisplay, or is there a better way?
>
> Second, when using "t:initial="block:..." what is the easiest way to get
> the spinning icon in it?
>
> -George
---
10 matches
Mail list logo