on 06-02-2006 3:44 PM
Hi,
My requirement is to enable and disable some UI elements based on user selection.
Assume I have two radio buttons ( male and female). If user selects male button, i have to enable and display 5 UI elements(for ex.) to the user in the screen and if user selects female buttion, i have to disable the 5 UI elements displayed earlier and to display other set of UI elements.
Please let me know how I can achieve this in web dynpro.
Thanks in Advance.
Regards,
Venkat.
Each UI element has a property named "enabled". Bind this property to a boolean context attribute. Then you can control the enabling-state by changing the context attribute value.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Armin,
Thanks so much for your answer. One of my requirement is fulfilled by your answer.
But to add to my last question, i want to completely hide those 5 UI elements when the user chooses Male Radio button.
How do i achieve this via Web Dynpro.
Once again thanks for your quick response.
Regards,
Venkat
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.