Skip to main content

Posts

Showing posts from October, 2009

Displaying please wait ajax animation on Visualforce page

Many times there comes a need to display a please wait icon while doing a ajax call on a VF page. This also looks cool for UI.

The beauty of VF page is, large things can be achieved with small efforts. Here is a three line of code that will help you achieve the flower.

<script> // To show / hide waiting-flower icons function setVisibility(id, isVisible){ document.getElementById(id).style.visibility= isVisible ? 'visible' : 'hidden'; } function show(id){setVisibility(id,true);} function hide(id){setVisibility(id,false);} </script> <apex:actionstatus id="pleasewait" onstart="show('img_status_product_select');" onstop="hide('img_status_product_select');"> <img height="20px" id="img_status_product_select" src="%7B%21$Resource.AjaxAnimation%7D" tyle="visibility:hidden" width="20…

The IT failure

Came across a really interesting article on big IT failure. Quoting from the article.

“Things tend to break after a while,” says Mr Budzinski. Many companies extended their maintenance contracts, but, at some point, that won’t be enough and IT systems will start failing on a large scale. Predicting IT failure is not a hard thing to do. When you deal with tens of thousands, and even hundreds of thousands of servers, data storage systems, network equipment, etc, it’s a relatively simple statistical exercise. “There’s a big crunch coming,” says Mr Budzinski. Companies will start to experience ever greater IT failures unless they start buying new hardware. Source: Znet
http://blogs.zdnet.com/Foremski/?p=821
Well, completely agreed. You see necessity is the mother of invention, and this is the necessity for the hour. Your business cannot flourish, if not for automated IT process but why bother about hardware, computers and stuff?