on 07-23-2008 12:09 PM
Hi,
i have Two views in WD.
my navigations as follows:
view1 -- Select a row and click edit button --> view2 (show the date that can be edited)
now i go from view2 --> view1.
Now , view1 --selecting other row of the table --> View2(showing the previous row details).
please give me slon for this..
regards
Hi
In View we have frame controlled and When_visible properties set as When_Visible then it refresh the data
or do wdContext.node<name>().invalidate();
Thanks,
Tulasi
Edited by: Tulasi Palnati on Jul 23, 2008 1:23 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Map the table node from View1 to View2 through ComponentController..
and in View 2 get the values as follows
String value1=wdContext.current<tableNode>Element().get<value1>();
String value2=wdContext.current<tableNode>Element().get<value2>(); etc
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
While navigating from view1 to view2 are you passing any parametres/setting any context variables????
If so test the value of the variable which is a key in identifying which row of the table is selected...
2. Are you using Dynamic UI in view2???
if so, make sure before every time you create dynamic UI in doModifyView() you are destroying the childs of transparent container that are previously created using TCObject.destroyAllChild()....
3. Make sure on navigating back from view2 to view1 you are clearing the context node of view2 using node.invalidate()...
If any of the above doesn't work for you, please explain your scenario clearly....
Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to refresh data, try invalidating the node.
wdContext.node<Required-node>.invalidate();
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.