on 09-08-2008 11:51 AM
Hi Experts,
I have a scenario, where an user makes a Check on a Checkbox, it should disable the few fields in the screen of another component. How to achieve this...?
Regards / Guru
Hello,
One of way of doing this is changing GET_I* methods of the fields you need.
Best Regards,
Yevgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You mentioned the fields should be disabled in the other component. It means the other component should know what happened in the other one. It can be achieved by creating a value node in both component controllers to share a flag whether fields are disabled or not. You have to enable binding between these two value nodes. When the user selects checkbox, you set the flag in this value node and it should be visible in the other component.
Then in GET_I*:
* Get the component controller instance
lr_controller ?= me->controller_owner.
lr_comp_controller ?= lr_controller->component_controller.
CHECK lr_comp_controller IS BOUND.
*now retreive the flag from the comp controller
...
Hope this helps,
Yevgen
It is resolved by myself, by maintaining a global attibute.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.