on 02-26-2010 5:50 PM
Hello All,
I have a requirement to populate some fileds and labels as per the user input. For Ex. If user selects "Goods" in my web dynpro application then it should populate the fields and labels Quantity, UOM, Unit Price and Currency. If user selects "Services" then it should populate the field Amount and Currency and hide the fields Quantity, UOM, Unit Price and Currency. Bydefault when user logs in it should have Services selected and populated its corresponding fields. Shall appreciate if anyone can guide as to how do I proceed with this. I have seen some examples when I can toggle buttons but, how do I manipulate with fields and labels.
Thks & Rgds,
Hemal
Hi,
Well I think you can do that requirement in different ways.
I recomend you to
Use a Transparent_container UI element. One for "GOODS" and one for "SERVICES" with its corresponding fields and labels for each one.
Create 2 attributes of type WDY_BOOLEAN of course one for goods and one for services.
Bind the "Visible" element of each Transparent container to the View Context.
Set as default true for Services. and false for Goods.
Now when you set the attributes to false you'll hide it, and of course when you set it to true yuo'll show it.
Note: You can use the "Web Dynpro Code Wizard" to acces the context attributes.
Any doubt I'll check it.
Regards. Gilberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.