Help.. Anyone.. PLEASE!! 

sharmaprateek wrote:
> 
> Hey Andreas & Lothar, 
> 
> Thanks for the reply. Let me elaborate my point a bit more clearly.. I am
> trying to build an outlook like interface. The interface is divided into
> three main parts..
> 
> ------------------------------------
> |       |     ToolBar          |
> |____| ______________|
> |  T    |                         |
> |  R    |   Main Iframe      |
> |  E    |                         |
> |  E    |                         |
> |____|_______________|
> 
> When i click on any node in the tree view, the contents of the iframe
> change accordingly. 
> Whenever a button in the toolbar is pressed a function call is made to a
> function of iFrame instance. 
> I can successfuly make a function call to the iFrame function but...
> 
> ////////////////////////////////////////////////////////////////////////////
>  // -- Parent window
> 
>  w1 = QxIframe("abc.html");    
> 
>  var returnedResult = w1.getContentWindow().someFunction();  //
> returnedResult should get a value but it does not get any.
> 
>  alert(returnedResult); // this alerts shows that returnedResult has
> undefined value.
> 
> /////////////////////////////////////////////////////////////////////////////
> 
>  /// --- w1 iframe has the following function ---
> 
>  function someFunction()
>  {
>       if (someCondition)
>       {
>              return true;
>       }
>       else
>       {
>              return false;
>       }
>  }
> ///////// ------ the end ------ ///////////
> 
> The problem is that the variable returnedResult DOES NOT captures any of
> the values returned by the called function.
> 
> The someFunction() performs some form validation checks and returns true
> or false value back. I want to capture this true / false returned value so
> that i can perform certain action on its basis.
> 
> The code written above does make a call to the function but does not
> captures the returned value. 
> 
> I will be grateful if you can please tell me how to capture this returning
> value.
> 
> Thanks & Regards,
> Prateek.
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-in-function-calls..-tf2049408.html#a5852015
Sent from the qooxdoo-devel forum at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to