Featured Article: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
m Featuring Eddy Kleinjan :P |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
'''AJAX - Return Arrays and Structs to your JavaScript with XML''' | |||
The VDF AJAX Library provides the functionality for developers to call published methods within a WBO and receive a return value (for Functions). This is done using a Remote Method Invokation (RMI). Using RMI's for returning a single datatype is fairly straight-forward. If you want to return a Struct, Array , or an Array of Structs you need to do some more work. Remember, you are returning these datatypes to JavaScript and there is no direct translation from a Windows Struct or Array to a JavaScript Struct or Array. | |||
..[[AJAX - Return Arrays and Structs to your JavaScript with XML|more]] |
Latest revision as of 21:30, 20 November 2008
AJAX - Return Arrays and Structs to your JavaScript with XML
The VDF AJAX Library provides the functionality for developers to call published methods within a WBO and receive a return value (for Functions). This is done using a Remote Method Invokation (RMI). Using RMI's for returning a single datatype is fairly straight-forward. If you want to return a Struct, Array , or an Array of Structs you need to do some more work. Remember, you are returning these datatypes to JavaScript and there is no direct translation from a Windows Struct or Array to a JavaScript Struct or Array.
..more