on 11-03-2008 10:26 AM
Hi,
i have a tree and i want to do something when i clicked links in tree.
how can i do some events when any link in tree was clicked? ( where can i take the fcode or value which links in tree were clicked ).
Thanks.
First of all, there are no FCodes in Web Dynpro programming. All the eventing is done via OO. There are actions and event handlers. Check the online help. It lists all the actions available for each UI. For the TreeItem there is an onAction action:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8d/088b41b4b3b25fe10000000a1550b0/frameset.htm
When triggered, the event handler code will have access to the ID, the reference to the context element, and the tree path:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/af/4bae42e5adcd6ae10000000a155106/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
When do want o event to fired ? When u expand the Node or when u click the Links in the tree nodes or items ?
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 | |
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.