on 07-12-2006 4:53 PM
Hi.
How I can manipulate an uielement created in time of design (for example, to do visible or not an inputfield) in layout from a method.I´ve seen this code: data: LR_CONTAINER type ref to L_WD_UIELEMENT_CONTAINER, LR_BUTTON type ref to CL_WD_BUTTON,
LR_FLOW_DATA type ref to CL_WD_FLOW_DATA.
LR_BUTTON = CL_WD_BUTTON=>NEW_BUTTON ().
LR_FLOW_DATA =
CL_WD_FLOW_DATA=>NEW_FLOW_DATA (element = LR_BUTTON).
LR_CONTAINER? =
view
->GET_ELEMENT`ROOTUIELEMENTCONTAINER').But I don´t know how the data 'view' is created.
Thanks in advance.
Generally, you should bind UI element properties to context attributes and manipulate the attribute values. This can be done from any controller method.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.