on 12-20-2014 12:57 PM
Hi All,
let say I have 2 attributes(eg. Name and Age) in a node and binding it to targetComp from Source comp.
Name : XXXX
Age: 87
I am trying to show those two attributes in targetView as a popup. For 1st time, its working fine.
Name:YYYY
Age:24
But not for the 2nd time and so on. The old data is still in targetView. I tried invalidate the node but that doesn't work. I think for the 2nd time, targetComp wdDoInit is not getting called again?
Any idea?
Thanks
Manoj
Hi,
put the code into the wdDoModifyView(). That is called at every roundtrip, wdDoInit() is invoked only once.
Cheers,
Ervin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example:
on the SOURCE view I enter a name and age and press the button "ToTargetView"
which routes me to TARGET view and shows the data in a popup:
If I now press the OK button, I get routed back to the SOURCE View where I enter other data and press again the button:
which leads me again to TARGET view that shows the actual data:
Is it something like this what you'd like to achieve ?
I hope this helps.
Regards,
Ervin
why you expect the wddoinit to run?
what you do there?
i think the context mapping is enough,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.