To answer your initial question, just use contrib:ajaxStatus from
http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html

For the second, why not update only the part in question?

On Fri, Oct 24, 2008 at 9:22 PM, Norman Franke <[EMAIL PROTECTED]> wrote:
> I sort of have it working by doing an "onclick" and relying on the entire
> form to update, which resets my div.
>
> But that brings up another point. I want to AJAX fetch a list of elements
> with a checkbox. Is there a better way to do this than by setting the entire
> form as one of the updateComponents? It pretty much forces an update of the
> entire page. If I don't, I can't get the values of the checkbox since
> tapestry serializes the state of the @For and checkboxes in fields.
>
> What's the best way to handle this?
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
> On Oct 24, 2008, at 12:10 PM, Norman Franke wrote:
>
>> I've searched the documentation, and I can't find how one implements a
>> "loading..." indicator when an AJAX request is sent off. My app will be
>> doing a series of database queries which can take 10 seconds or so, and it
>> really needs something to tell the user they need to wait a bit.
>> Showing/Hiding a div would be great.
>>
>> Norman Franke
>> Answering Service for Directors, Inc.
>> www.myasd.com
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to