Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 07:35:43 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: purpose of the observableRun method  (Read 728 times)
ludwigl
Sr. Member
****
Posts: 47


View Profile
« on: November 04, 2009, 02:21:14 AM »

Hi Steven,

I am struggling to understand the purpose of the observableRun method especially in context of using AJAX methods.

Here is an extract from your IO examples:

linb.Thread.observableRun(function(threadid){
                            linb.Ajax(linbService,hash, onOK, onFail,threadid).start();
                        });

What is the advantage of using the observableRun method?

It would be great if you could address this topic in a tutorial (i.e about threads).

With best regards,

Ludwig
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: November 05, 2009, 04:20:10 AM »

"observableRun" will add a transparent div on the top of DOM(User can't click other control during asysc ajax process), and change cursor to "wait" status(User can observe that the  current application is busy), until the ajax process returns data.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!