on 05-11-2006 1:09 AM
Hello,
I have a need to create a parameter in action. Later on I need to create a DROP_DOWN_BY_KEY element and bind the action to this element.
Currently I have action without any parameters except WDEVENT. If I define a new parameter how would I bind it during run time?
Dynamic binding without parameters:
drop_down_bk = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.GENERAL_OPERATORS' on_select = 'FROM_STOCK_OPERATOR' ).
If FROM_STOCK_OPERATOR has an importing parameter of type CL_WD_UIELEMENT_CONTAINER how do I pass it?
Thank you.
You should not access UI element instances inside action handlers, so a parameter that contains the enclosing container makes no sense to me.
What do you want to achieve?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another interpretation could be as follows:
When I create a UI element I want to assign a unique ID to it. Later, when a user clicks on it I want to get that ID (in action handler). Once I have it I need to get a parent of this element.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.