Can anyone give me any pointers? All I need is to be able to enable/disable
a busy busy message based on what else is happening in my page. This is
such an obvious use case, I can't believe I'm the only one doing it. And
every time I look at the Tapestry docs I get nowhere. I don't understand
how the lifecycle or render cycle of this message can mesh with Tapestry's
render cycle.


On Thu, Aug 16, 2012 at 4:36 PM, George Ludwig <georgelud...@gmail.com>wrote:

> Christian,
>
> The thing is, I'm server-side guy being forced to do UI...I really don't
> know where to start on building such an object. Isn't there some component
> already out there or must I re-invent the wheel?
>
> -George
>
>
> On Thu, Aug 16, 2012 at 2:31 PM, Christian Riedel <cr.ml...@googlemail.com
> > wrote:
>
>> Hi George,
>>
>> 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 feedback
>> 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
>> stuff going on but don't want the user to wait 10 seconds until the page
>> 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
>> > an operation is taking place. For example, when saving 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:initial="block:..."  what is the easiest way to
>> get
>> > the spinning icon in it?
>> >
>> > -George
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to