on 10-13-2008 1:08 AM
Hello,
When u create methods in the controller...there are 2 options to select ...either Event or Method...I have used the option method ....but what is event handler and how it used in webdynpro...?
Thanks in advance.
Hi Anil
Event handlers allow the separation of static and dynamic code in a page. The layout processing deals with the static data, while the event handlers deal with the dynamic data.
For more details just check this link
for Event Handler
http://help.sap.com/erp2005_ehp_03/helpdata/EN/9b/ac1e3a0088e042e10000000a11402f/frameset.htm
for Action
http://help.sap.com/erp2005_ehp_03/helpdata/EN/bf/50953fc405330ee10000000a114084/frameset.htm
Thanks
Anup
Edited by: Anup Bharti on Oct 13, 2008 6:16 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil kumar
The Web Dynpro component can use the following properties
of the Web Dynpro component interface:
1. Context (for mappings)
2. Methods (for calls)
3. Events (for communication)
4. Interface views (for embedding)
Events :By a dashed edge giving a direction; the edge is labeled with the event and, optionally,
with the method in which the event is triggered. The edge determines the trigger
direction.
i hope you got the ans....
Regards...
Ramprasad
Edited by: Ramprasad K on Oct 13, 2008 8:24 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anil,
first an event in componetn controller of WD project.
then create a methode which will fire that event.
eg.
wdThis.wdFireEventFire<event>();
now create an eventhandler in view in which u want to handle this particular event.
hpe it will hlp u
Regards
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The event handlers deals with dynamic data, take the example of creating a confirmation window, confirmation window will be created at runtime with specified buttons say ok and cancel. These ok and cancel buttons are eventhandlers and they can be invoked on click of button on confirmation window. For code example see my post in the following link.
Regards
Raghu
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 choose event handler method, you can subscribe to any event of any visible controller (the controllers you defined as required controller for the actual controller).
you can give name and return type of this method.and you can pass parameter by pressing new and then provide parameter of your choice .
thanks
vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just create one context variable and assign its type boolean.
When u crate event say push and click on properties in event assign that variable u created
Regards
Ruturaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.