Re: how to change cursor to hourglass during async event handling
Thanks a lot!! On 9/13/07, andyhot [EMAIL PROTECTED] wrote: Use @contrib:AjaxStatus http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html ... or, for more control, see http://tapestry.apache.org/tapestry4.1/jsdoc/index.html the tapestry.fx.attachAjaxStatus method Mike Oestereter wrote: Hi During a async call to a @EventListener method that takes quite long (slow database connection) it would be nice to (like previously in tacos) change the cursor to an hourglass (or equivalent). It would actually be quite nice as well if input to controls could be disabled (at least for a while) but that is another topic. Any advise? How do you guys do your async event handling? Any examples or pointers will be greatly appreciated Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting - 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]
Re: how to change cursor to hourglass during async event handling
Thanks This is what I did at the end. Its a bit in your face but it mostly (besides the IE6 div bug) prevents users from clicking on something else while the request is processing. 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: #ff; filter:alpha(opacity=50); -moz-opacity:0.5; opacity: 0.5; nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/Loading...br/nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/ /div On 9/13/07, andyhot [EMAIL PROTECTED] wrote: Use @contrib:AjaxStatus http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html ... or, for more control, see http://tapestry.apache.org/tapestry4.1/jsdoc/index.html the tapestry.fx.attachAjaxStatus method Mike Oestereter wrote: Hi During a async call to a @EventListener method that takes quite long (slow database connection) it would be nice to (like previously in tacos) change the cursor to an hourglass (or equivalent). It would actually be quite nice as well if input to controls could be disabled (at least for a while) but that is another topic. Any advise? How do you guys do your async event handling? Any examples or pointers will be greatly appreciated Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting - 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]
Re: how to change cursor to hourglass during async event handling
nice! On 9/14/07, Mike Oestereter [EMAIL PROTECTED] wrote: Thanks This is what I did at the end. Its a bit in your face but it mostly (besides the IE6 div bug) prevents users from clicking on something else while the request is processing. 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: #ff; filter:alpha(opacity=50); -moz-opacity:0.5; opacity: 0.5; nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/Loading...br/nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;br/ /div On 9/13/07, andyhot [EMAIL PROTECTED] wrote: Use @contrib:AjaxStatus http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html ... or, for more control, see http://tapestry.apache.org/tapestry4.1/jsdoc/index.html the tapestry.fx.attachAjaxStatus method Mike Oestereter wrote: Hi During a async call to a @EventListener method that takes quite long (slow database connection) it would be nice to (like previously in tacos) change the cursor to an hourglass (or equivalent). It would actually be quite nice as well if input to controls could be disabled (at least for a while) but that is another topic. Any advise? How do you guys do your async event handling? Any examples or pointers will be greatly appreciated Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting - 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://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: how to change cursor to hourglass during async event handling
Use @contrib:AjaxStatus http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/ajaxstatus.html ... or, for more control, see http://tapestry.apache.org/tapestry4.1/jsdoc/index.html the tapestry.fx.attachAjaxStatus method Mike Oestereter wrote: Hi During a async call to a @EventListener method that takes quite long (slow database connection) it would be nice to (like previously in tacos) change the cursor to an hourglass (or equivalent). It would actually be quite nice as well if input to controls could be disabled (at least for a while) but that is another topic. Any advise? How do you guys do your async event handling? Any examples or pointers will be greatly appreciated Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]