on 08-06-2011 6:39 AM
Hi Experts,
I need to call event handler (like onactionsumbit, to calculate result based on selection options) from one view to another view,
Please tell me the way, how to call?
Advance thanks.
Regards,
BBC
you can create a EVENT in component controller....
and you can call this event in component controller method/....(if you want to use it globally)
now you can create a method @ VIEW... next to the method name. you can define the event name....
now whenever you trigger the event the method @ view gets called
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
calling event handler is same as calling any method.
suppose event name is 'Submit' then event handler method would be 'onactionSubmit' so call this method
wd_this->onactionsubmit( ), remeber you need to pass event parameters with this method call, i dont see any general use of calling event handler method, which are called when event is triggered.
to navigate from one view to another you have to use plugs between views.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kranthi,
In my scenario I have created two windows. First window is having one view and second window having two views.
Here I used alv interactive functionality. If we click on any record in base window then it shows the relevant record information in second window. If we edited & saved the record then base window should be refreshing.
For this I did invalidate node for base table node (it is working) then I am not able to call the calculation part action event from first window -view.
Is there way to call eventhadler from one view to another view?
Regards,
BBC
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.