Has patching mechanism changed with AW 2.0 ?
Hello,
Based on paging1.js patch for AW 1.0, I tried the following with AW 2.0:
MyClass = {};
MyClass.Page = AW.System.Model.subclass();
MyClass.Page.create = function()
{
var obj = this.prototype;
obj.defineProperty("test", "test");
}
MyClass.Page.create();
But I have the following error:
obj.defineProperty is not a function
If I execute the same code (by replacing of course "AW" with "Active") with AW 1.0, it work fine.
Could someone please tell me why?
Thanks in advance for your help!
Based on paging1.js patch for AW 1.0, I tried the following with AW 2.0:
MyClass = {};
MyClass.Page = AW.System.Model.subclass();
MyClass.Page.create = function()
{
var obj = this.prototype;
obj.defineProperty("test", "test");
}
MyClass.Page.create();
But I have the following error:
obj.defineProperty is not a function
If I execute the same code (by replacing of course "AW" with "Active") with AW 1.0, it work fine.
Could someone please tell me why?
Thanks in advance for your help!
Livio
July 21,