on 11-14-2007 7:30 PM
Hi Guru's
I've developed one application in the WEBDYNPRO.
I've several views in my application and several model nodes and value nodes.
Here what is the problem is, once i moved from one view to another view and did the some logic to refresh the data on the views both previous view and present view, my value node and model nodes are not refreshing and i'm not able to view the updated data.
How to refresh the model node and value nodes after some operation.
Please guide me.
Regards,
Adi.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check whether you have maped Same Comp. Controller Context to View1 Context & View2
It should reflect automatically if you mapped both View1 & View2 to same Context.
Thanks
sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u filled the model node using supply function, u have to invalidate() the supply function where u like to refresh.
or
If u used the model node directly then u have to call the BAPI where u like to refresh ,then u can get the new values.
Regards,
karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take ModelNode and ValueNode in ComponentController.. and map these nodes
to View1 and View2..
So, If you want to refresh ValueNode from View1 or View2
wdThis.wdGet<Comp Name>Controller().wdGetContext().I<ValueNode>Element element =wdContext.create<ValueNode>Element();
element.set<Field1>(<Value1>);
element.set<Field2>(<Value2>); etc
wdThis.wdGet<Comp Name>Controller().wdGetContext().node<ValueNode>().bind(element);
Add ComponentController as RequiredController to both views
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Suppose you are moving from view1 to view2. Then in view1 you invalidate() the node which you want to refresh in view2. In view2 call the method which can give you the updated data.
thanks & regards,
Manoj
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 | |
10 | |
7 | |
6 | |
6 | |
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.