[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: Tapestry + Problem with @contrib:AjaxStatus
From:       "Andreas Andreou" <andreoua () gmail ! com>
Date:       2008-02-29 15:30:34
Message-ID: 745369620802290730ib6aad08q1c0a9f4be773bc6f () mail ! gmail ! com
[Download RAW message or body]

I don't quite understand why this is delaying in IE...
Is it possible to create a simple example that demonstrates the delay you're
seeing and attach it to JIRA?

On Fri, Feb 29, 2008 at 5:22 PM, sasidhar <sasidhar_av@yahoo.com> wrote:
> 
> Thanks Andreas Andreou.
> 
> I reset the cursor style using - dojo.byId(a1).style.cursor = "none". PFB
> the code snippet
> 
> 
> tapestry.fx.attachAjaxStatus( function(show) {
> if (show) {
> // show your node
> } else {
> dojo.byId(a1).style.cursor = "none";
> // hide your node
> 
> }
> 
> Now normal cursor reappears in IE6, once AJAX request is complete. However
> it took around 30 secs. Is there a workaround to make this as faster as
> firefox?
> 
> Note : In Firefox, normal cursor reappears immediately after completion of
> Ajax Request.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Andreas Andreou wrote:
> > 
> > http://tapestry.apache.org/tapestry4.1/jsdoc/files/fx-js.html
> > 
> > see the tapestry.fx.attachAjaxStatus function, it's what the component
> > calls...
> > Apart from a dom node (to show - hide), it can accept a custom function,
> > so that
> > you can:
> > 
> > tapestry.fx.attachAjaxStatus( function(show) {
> > if (show) {
> > // show your node
> > } else {
> > // hide your node
> > // and programatically change cursor or move mouse
> > }
> > })
> > 
> > 
> > 
> > On Thu, Feb 28, 2008 at 4:17 PM,  <giri.v.srini@gmail.com> wrote:
> > > Hi,
> > > 
> > > In order to prevent user interruption, Used "@contrib:AjaxStatus"
> > > component to display hour glass when AJAX request happens. PFB the code
> > > snippet used
> > > 
> > > <div jwcid="@contrib:AjaxStatus"
> > > style="display:none; cursor:wait; position:absolute; top:0;
> > > left:0; width:99%; height:99%; margin: 0; padding:0; color: #80d1fd;
> > > font-size: 100px; text-align: center; background-color: #ffffff;
> > > filter:alpha(opacity=50); -moz-opacity:0.5; opacity: 0.5; ">
> > > 
> > > </div>
> > > 
> > > 
> > > 
> > > However once Ajax response is received, Normal mouse pointer does not
> > > reappear. The hourglass continues to be shown , and only after moving the
> > > mouse, the normal pointer is shown.  Please help us in figuring out this?
> > > 
> > > Note : This behaviour is observed only in IE. It works fine in Mozilla
> > > Firefox.
> > > 
> > > 
> > > Thanks in advance for your help,
> > > Giri.
> > > 
> > > --
> > > This message was sent on behalf of giri.v.srini@gmail.com at
> > > openSubscriber.com
> > > 
> > > http://www.opensubscriber.com/messages/tapestry-user@jakarta.apache.org/topic.html
> > >  
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > > 
> > > 
> > 
> > 
> > 
> > --
> > Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
> > Tapestry / Tacos developer
> > Open Source / JEE Consulting
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> > 
> > 
> > 
> 
> --
> View this message in context: \
> http://www.nabble.com/Tapestry-%2B-Problem-with-%40contrib%3AAjaxStatus-tp15737451p15760763.html
>  
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 
> 
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic