But the codes are proprietary. I have a tight schedule right now, hardly got time to make another sample.
Here is the structure:
object A creates two members :list B (not standard), dynamic form C. A is passed to B as ‘creator’. The DS is created in B, and set it back to A by calling this.creator.setDS as you see in the codes. The formFields are defined in A.
OK, no bug in SmartClient then. You’ve hit a subtle issue with custom classes: if you define an Array or Object property on a class, all instances of the class share that Array or Object. For safety reasons, Array or Object defaults should usually be dynamically created in initWidget().
Sorry, but that call on it’s own simply does not lead to fetches. Something you are doing later, which may include drawing the form with autoFetchData:true or optionDataSource settings, causes the fetch.
It’s not possible for anyone to point out what’s going on until you show complete code.
This depends on what the objects are, how they are configured and what methods you are calling on them. Sorry, there’s no substitute for showing example code.