on 07-01-2011 3:20 PM
Hi Expert,
Can you please tell me how i can call the method of one view in other view.
Thanks
Mahesh
ok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mahesh,
We cannot call method of one view in other view.
As thomas said, declare method in component controller( wd_comp_controller->method( ) or assistance class ( wd_assist->method( ) ).
Or you can declarein normal class and can call by in this way.. zclassname=>methodname( ).
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You shouldn't do this. Methods of a view are private. If you have logic in a view that is reusable, then it should be a method in the component controller or in the assistance class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thanks for your reply but i need this because i am facing one strange problem.
There is one standard WD /PLMU/WDC_RFO which i am enhancing.
There is one node and attribute which is defined at CC level .
I am filling the attribute at CC level , but i am not getting the value at view level.
The Attribute is although exist at view level but it is blank.
Please help.
Thanks
Mahesh
Indeed it is strange if i understand your problem correctly. You are updating a attribute in component controller and it is not available in view.
Are you sure that context mapping is correct ?
It may be possible that node is invalidated or changed in between you update and see the value in view.
Otherwise i do not see any special case here.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.