on 02-04-2009 11:00 AM
hi,
i wants to know what is the difference between
method.
event handler.
supply funciton.
Regards:
Pankaj Aggarwal
Hi Pankaj,
These are few lines from the F1 help documentation given,
Web Dynpro: Method Type :The type of a method defines whether you have an event handler, a supply
function, or a (normal) method.
Event Handler : Handlers of an event, a controller, an action, or an inbound plug of a view.
Method : Modularization unit within a view or a controller.Methods of a view can only be called locally
within this view.Methods of a controller (component or custom controller) can also be called from
a view or another controller, provided the controller is entered as controller used .
Supply Function : Method for filling a context node.
For more information refer to the Thomas post
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi pankaj,
Refer this pdf
Regards,
Sravanthi
Supply function is explained in the middle of the page in this help document link:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8c/a0fa495f9a480bae29bf43474ccb79/frameset.htm
Event handler is a special method that is designed to be called when a User Interface Action occurs. It gets parameters that supply more information about the event. For example when you place a button on the screen, there is an action for when the button is pressed. The method that responds to this action is the event handler.
Method is a normal object oriented construct for encapsulating programming logic. It is a general term that refers to different types of groups of code. Both Supply Functions and Event Handlers are technically methods as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.