![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Sun, Sep 13 2015 8:05 AM | Permanent Link |
thomh | I can confirm that RemObjects is working great with EWB using the latest ROSDKUtils file from Tim and Matthew.
I am testing passing record structures and arrays of record structures with RemObjects and need some help on how to declare this in EWB: // Struct: User __namespace.User = function User() { this.StartDt = {dataType : "DateTime", value : null}; this.License = {dataType : "Integer", value : null}; this.MailAd = {dataType : "WideString", value : null}; this.Nm = {dataType : "WideString", value : null}; this.Pwd = {dataType : "WideString", value : null}; this.Usr = {dataType : "WideString", value : null}; }; __namespace.User.prototype = new RemObjects.SDK.ROStructType(); __namespace.User.prototype.constructor = __namespace.User; RemObjects.SDK.RTTI["User"] = __namespace.User; Thanks. // Thom |
Mon, Sep 14 2015 4:29 AM | Permanent Link |
Matthew Jones | thomh wrote:
> I can confirm that RemObjects is working great with EWB using the > latest ROSDKUtils file from Tim and Matthew. > > I am testing passing record structures and arrays of record > structures with RemObjects and need some help on how to declare this > in EWB: > > // Struct: User > __namespace.User = function User() { > this.StartDt = {dataType : "DateTime", value : null}; > this.License = {dataType : "Integer", value : null}; > this.MailAd = {dataType : "WideString", value : null}; > this.Nm = {dataType : "WideString", value : null}; > this.Pwd = {dataType : "WideString", value : null}; > this.Usr = {dataType : "WideString", value : null}; > }; > __namespace.User.prototype = new RemObjects.SDK.ROStructType(); > __namespace.User.prototype.constructor = __namespace.User; > RemObjects.SDK.RTTI["User"] = __namespace.User; > > Thanks. > > // Thom Raise a case with Tim and send him the files. And please post the outcome so we can all learn. Thanks. (FWIW, I long ago decided not to use the RO objects, instead using UTF8 Strings which I can put either a TStringList.Text, or JSON, or XML, or any other mad representation of an object. And of course the string is expandable with other attributes etc. But it isn't so tightly defined, which may be a disadvantage in some situations... -- Matthew Jones |
Mon, Sep 14 2015 7:30 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Thom,
<< I am testing passing record structures and arrays of record structures with RemObjects and need some help on how to declare this in EWB: >> This might be problematic without some intermediary classes that can handle reading/writing the record data. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |