Re: Appropriate use of ProgressiveDisplay?

2012-08-17 Thread Ray Nicholus
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

Re: Appropriate use of ProgressiveDisplay?

2012-08-17 Thread George Ludwig
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

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
; > > > >> > > > > >> 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 >

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Michael Prescott
> >> 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 > > > >>

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Taha Siddiqi
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 >

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
> > >> 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 > > >&

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Michael Prescott
> >> > >> Am 16.08.2012 um 23:05 schrieb George Ludwig: > >> > >> > I want to use ProgressiveDisplay to display a message and spinner icon > >> when > >> > a

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
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

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
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

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Christian Riedel
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 ---