Sep 26, 2013, 7:45 AM
[CLOSED] UserControlLoader inside Bin of Panel with the UserControl a Window inside a Bin of another Control, cannot getValue()
Control Tree:
The Reference in javascript to #{TextF}.getValue() causes an exception undefined. Rendered output constructs App.ctl00_cp_EventUC_ctl70_TextF.getValue() properly.
Exception is that that App.ctl00_cp_EventUC_ctl70_TextF is undefined.
In client-side debugger, I expand App. App.ctl00_cp_EventUC_ctl70_TextF does not appear in list of controls. None of the controls in fact, none of the controls in App.ctl00_cp_EventUC_ctl70... appear.
When I move the Window to the same level as the Menu.
<Panel>
<Bin>
<UserControlLoader Path=UserControl1>
<UserControl1>
<Menu>
<Bin>
<Window>
<TextField ID="TextF">
The Reference in javascript to #{TextF}.getValue() causes an exception undefined. Rendered output constructs App.ctl00_cp_EventUC_ctl70_TextF.getValue() properly.
Exception is that that App.ctl00_cp_EventUC_ctl70_TextF is undefined.
In client-side debugger, I expand App. App.ctl00_cp_EventUC_ctl70_TextF does not appear in list of controls. None of the controls in fact, none of the controls in App.ctl00_cp_EventUC_ctl70... appear.
When I move the Window to the same level as the Menu.
<Panel>
<Bin>
<UserControlLoader Path=UserControl1>
<UserControl1>
<Menu>
<Window>
<TextField ID="TextF">
Expanding App does show some App.ctl00_cp_EventUC_ctl70... controls, but somehow still, not all.
Last edited by Daniil; Oct 04, 2013 at 5:56 AM.
Reason: [CLOSED]