Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 10 total |
Remobjects |
Tue, Feb 21 2012 9:49 AM | Permanent Link |
Friedrich Westermann | Hello,
i must say i'm complete new to JS so i'm lost..... i try to use the RemobjectSdk and maybe Databstrcat with EWB so i have the *js from Remobejct but i dont find a way how to declare in EWB the needed classes like: JS code: // Service: NewService function NewService(__channel, __message, __service_name) { RemObjects.SDK.ROService.call(this, __channel, __message, __service_name); this.fServiceName = this.fServiceName || __service_name || "NewService"; }; NewService.prototype.TestDataFromServer = function( __success, __error) { try { var msg = this.fMessage.clone(); msg.initialize(this.fServiceName, "TestDataFromServer"); msg.finalize(); this.fChannel.dispatch(msg, function (__message) { var __result = __message.read("Result", "WideString"); __success( __result ); }, __error); } catch (e) { __error(msg, e); }; }; can anybody point me to the right direction? Thank Fritz |
Tue, Feb 21 2012 10:28 AM | Permanent Link |
Robert Devine | Hi Friedrich - I'll try and get an update of my RO demo uploaded later
tonight. The original version required a kludge (it's in binaries) but the recent changes Tim made mean that it's possible to directly reference the external RO objects. Cheers, Bob On 21/02/2012 14:49, Friedrich Westermann wrote: > Hello, > i must say i'm complete new to JS so i'm lost..... > > i try to use the RemobjectSdk and maybe Databstrcat with EWB > > so i have the *js from Remobejct but i dont find a way how to declare in EWB > > the needed classes like: > > JS code: > // Service: NewService > function NewService(__channel, __message, __service_name) { > RemObjects.SDK.ROService.call(this, __channel, __message, __service_name); > this.fServiceName = this.fServiceName || __service_name || "NewService"; > }; > > > NewService.prototype.TestDataFromServer = function( > __success, __error) { > try { > var msg = this.fMessage.clone(); > msg.initialize(this.fServiceName, "TestDataFromServer"); > msg.finalize(); > this.fChannel.dispatch(msg, function (__message) { > var __result = __message.read("Result", "WideString"); > __success( > __result > ); > }, __error); > > } catch (e) { > __error(msg, e); > }; > }; > > can anybody point me to the right direction? > > Thank Fritz > |
Tue, Feb 21 2012 11:08 AM | Permanent Link |
Friedrich Westermann | Hello Bob,
thank you a lot. It i a interesting time..... all the new things to learn Fritz Bob Devine wrote: > Hi Friedrich - I'll try and get an update of my RO demo uploaded > later tonight. > > The original version required a kludge (it's in binaries) but the > recent changes Tim made mean that it's possible to directly reference > the external RO objects. > > Cheers, Bob > > |
Tue, Feb 21 2012 11:36 AM | Permanent Link |
Robert Devine | Hi Fritz
I've just posted an update in the demos group. It requires references to the external JS files RemObjectsSDK.js and NewLibrary_intf.js which are in the Javascript folder. I've also posted the server I used - note that it has the DefaultFile property of the ROJavaScriptHttpDispatcher set to rotest3.html and that the files are served from the \html folder. Cheers, Bob On 21/02/2012 16:08, Friedrich Westermann wrote: > Hello Bob, > > thank you a lot. > It i a interesting time..... all the new things to learn > > > Fritz > > > Bob Devine wrote: > >> Hi Friedrich - I'll try and get an update of my RO demo uploaded >> later tonight. >> >> The original version required a kludge (it's in binaries) but the >> recent changes Tim made mean that it's possible to directly reference >> the external RO objects. >> >> Cheers, Bob >> >> > |
Tue, Feb 21 2012 12:29 PM | Permanent Link |
Friedrich Westermann | Hi Bob
the ROSDKUtils is missing if you want to share..... Thanks again Fritz Bob Devine wrote: > Hi Fritz > > I've just posted an update in the demos group. It requires references > to the external JS files RemObjectsSDK.js and NewLibrary_intf.js > which are in the Javascript folder. I've also posted the server I > used - note that it has the DefaultFile property of the > ROJavaScriptHttpDispatcher set to rotest3.html and that the files are > served from the \html folder. > > Cheers, Bob > |
Tue, Feb 21 2012 1:04 PM | Permanent Link |
Robert Devine | Ah, sorry - forgot about that! I've uploaded it to demos.
Cheers, Bob On 21/02/2012 17:29, Friedrich Westermann wrote: > Hi Bob > > the ROSDKUtils is missing if you want to share..... > > Thanks again > > Fritz > > > > Bob Devine wrote: > >> Hi Fritz >> >> I've just posted an update in the demos group. It requires references >> to the external JS files RemObjectsSDK.js and NewLibrary_intf.js >> which are in the Javascript folder. I've also posted the server I >> used - note that it has the DefaultFile property of the >> ROJavaScriptHttpDispatcher set to rotest3.html and that the files are >> served from the \html folder. >> >> Cheers, Bob >> |
Tue, Feb 21 2012 1:56 PM | Permanent Link |
Friedrich Westermann | Hello Bob thanks, it works!! now i have to got my brain around all these "new" stuff Greetings Fritz > Ah, sorry - forgot about that! I've uploaded it to demos. > > Cheers, Bob > |
Tue, Feb 21 2012 2:09 PM | Permanent Link |
Robert Devine | That's great - I also have a working Data Abstract demo that I need to
tidy up a bit - I'll try and get it uploaded tomorrow. Cheers, Bob On 21/02/2012 18:56, Friedrich Westermann wrote: > > Hello Bob > > thanks, it works!! > now i have to got my brain around all these "new" stuff > > > > Greetings Fritz > > > > >> Ah, sorry - forgot about that! I've uploaded it to demos. >> >> Cheers, Bob >> |
Tue, Feb 28 2012 11:52 AM | Permanent Link |
Friedrich Westermann | Hello Bob,
sorry for ask again...... for me the hole js is a "black box" so if you have a example for Data Abstract these would be great. Thank Fritz > That's great - I also have a working Data Abstract demo that I need > to tidy up a bit - I'll try and get it uploaded tomorrow. > > Cheers, Bob |
Tue, Feb 28 2012 6:19 PM | Permanent Link |
Robert Devine | Hi Fritz - sorry, got a bit swamped and didn't get around to cleaning up
the demo. I've just posted it - you'll just need to modify your copy of the DA Sample Server found in the DA demos. The EWB client doesn't display the datatable in a grid - just the fieldnames. I created a descendent TGrid that did display the data, but have decided instead to create a class that encapsulates a datatable and a dataset, and syncs edits on the dataset. I've decided to wait until Tim has finished the dataset editing etc before pushing on with this. At some point in the future hopefully Tim will make the datatable bindable to the grid, but I'd imagine he's got enough on his plate for a while yet. Let me know if you have any problems/questions... Cheers, Bob On 28/02/2012 16:52, Friedrich Westermann wrote: > Hello Bob, > > sorry for ask again...... > > for me the hole js is a "black box" so if you have a example for Data > Abstract these would be great. > > Thank Fritz > > > >> That's great - I also have a working Data Abstract demo that I need >> to tidy up a bit - I'll try and get it uploaded tomorrow. >> >> Cheers, Bob > |
This web page was last updated on Monday, September 9, 2024 at 03:13 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |