You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by sasidhar <sa...@yahoo.com> on 2008/03/08 15:18:54 UTC

Re: Tapestry + Problem with @contrib:AjaxStatus




Thanks Andreas. This solution works fine.

However we need to clear Files(IE > Tools > Internet Options > Delete Files)
in IE to get this reflected. Why is this so? 

Is there a way to make it work with out clearing Files in IE? 

Thanks in Advance,
Giri


Andreas Andreou wrote:
> 
> 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 <sa...@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,  <gi...@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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Tapestry-%2B-Problem-with-%40contrib%3AAjaxStatus-tp15737451p15912899.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