on 09-28-2006 10:05 AM
Hi All-
I have created ViewA and ViewB.
ViewA has an input field in which user enters a value at runtime.This value has to be displayed in ViewB input field when I click a button "Go" in ViewA.
Let me know whether I need to pass the value at wdFirePlug..() or need to update the context?
Please let me know the process to achieve this.
Regards,
Cris
Create the attribute in custom/component controller context, define controller usages and context mapping to have the attribute available in both views. No code needed.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
U can do in both ways , but passing the parameter through s some delay to be happend.
Create a Attribute in Controller and map it your two Views bind them that common attribute then u solution easy.
Other wise do u need pass the parametr create a parameter outplug and pass the parameter and capture the parameter and setting the wherever do u need.
Thanks
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can Create the attribute in componentController and bind it with view A and view B.
You can get the value from both view at runtime
wdContext.current<Context or node>Element().get<Value>();
See the Code Sample and Tutorial
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b1a3e990-0201-0010-aeb2-a2ef5bc3da8e
Kind Regards
Mukesh
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 | |
25 | |
12 | |
9 | |
6 | |
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.