I have a fairly complex UX that is having trouble passing content
to an embedded UX.
For diagnosis, I've created a couple of basic PARENT UX components
and one CHILD UX. These are included as an attachment in ZIP format
and with A5W files to launch them.
Passing a textbox value DIRECTLY (00_test_arg_pass_10_Parent_PANEL-TB)
Passing a textbox value BY JAVASCRIPT (00_test_arg_pass_10_Parent_PANEL-JS)
As an aside, I have other cases where the "onPanelActivate" will not fire
in the CHILD UX even though the documented conditions appear to be met.
If you have examples of PARENT-to-CHILD argument passing or have input on
my examples please let me know!
0_test_argument_passing.zip
to an embedded UX.
For diagnosis, I've created a couple of basic PARENT UX components
and one CHILD UX. These are included as an attachment in ZIP format
and with A5W files to launch them.
Passing a textbox value DIRECTLY (00_test_arg_pass_10_Parent_PANEL-TB)
- When a TEXTBOX has a default value and is passed through the argument the parameter is passed successfully.
- However, if the textbox value is changed, the argument is NOT passed to the embedded (child) UX on second or subsequent activations.
Passing a textbox value BY JAVASCRIPT (00_test_arg_pass_10_Parent_PANEL-JS)
- Where the argument is passed, a small javascript function is used to pick up the value from a textbox. The function fires (alerts are launched). However, the value does NOT pass to the child. Oddly, the command to call the javascript function is in fact passed to the CHILD.
- As in the prior example, second or subsequent activations do not appear to call the function again.
As an aside, I have other cases where the "onPanelActivate" will not fire
in the CHILD UX even though the documented conditions appear to be met.
If you have examples of PARENT-to-CHILD argument passing or have input on
my examples please let me know!
0_test_argument_passing.zip
Comment