I add an event to a store and I get the following produced code.
Attachment 40679
shouldn't the scope be created by the generated code?
where scope: me is included? it is not being included for me.
Thanks
Printable View
I add an event to a store and I get the following produced code.
Attachment 40679
shouldn't the scope be created by the generated code?
where scope: me is included? it is not being included for me.
Thanks
Touch automatically calculates this.
Your onPendingStoreAddRecords should be running in the scope of the class you've defined.
I added an event to the store, in the first post the screen shot is what architect generated, when I go add a record to the store the event is called. Once in the event it is out of scope, since there is no scope: me like it says in the docs. In the docs it states the scope: me gets generated, this is not what is happening. so I am now having scope issues. when I try to access (this) once in the event, (this = the current store that the event was added)
ah, I see what you are saying, ok, I got ahead of myself, yes you are right it is acting as it should., My bad, thanks for clarifying.