I have a special data type called myStruct which is composed of the following variables ;
- id (string)
- myList (myStruct)(List)
- In the human service -
I created a list of myStruct objects in my human service as follows ; myWholeList (myStruct) (List) . I believe it is so far so clear . This myWholeList object is full of a result of a service call. I debugged it and it works pretty fine meaning that all of the data inside of it is printable in a textArea. Briefly, it is for sure that myWholeList collection has sufficient amount of data.
- In the coach view -
So I can honestly talk about such structure ; myWholeList (myStruct) (List) <-> myWholeListJS (myStruct) (List)
- In the EventHandlers load() function of the coach view
I can write such a command and print its value as follows ;
var theList = this.context.options.myWholeListJS.get("value");
window.alert(theList.length()); // result : 25
window.alert(theList.get(0).id) ; // result : 010
Afterwards, when it is intended to reach the "myList <List> " property of the myWholeListJS, a problem arises.
I am not able to say ; window.alert(theList.get(0).myList.length()) . // here I expect to get the length of myList array object in theList array object.
Can anybody help please ? pretty miserable here .
I already appreciate your help.