Hi Guys,
I have a simple custom coach view to rate anything. It uses the dojox/form/Rating widget, and
works fine if I place it on a coach, but do not work if I place it inside another coach view like a Horizontal Layout or any other coach view. The problem is that the
registry.byId dojo function do not find the widget if my coach view isn't at top level (i.e. on the coach).
Here is the AMD dependency list:
Here is the console output when the coach view was placed within another coach view (see the two console.log(...) lines above):
What's wrong? Why do not find the registry.byId function the Registry widget if it is placed inside another coach view, and why do it find the widget if it is at top level, or with other words it's placed on the coach? How to solve this problem?
Any help appreciated!
Thx,
Laszlo