on 10-24-2008 7:07 AM
Hi,
Can any one tell me how to use radio button.
For example i want to use radio button to select gender, Female or male. How to put that.?
Regards,
H.V.Swathi
Hi Swathi,
Create a simple data type as gender and in that give names as Male and Female in the Enemuration section
In the contexr create a value node as Gender and a value attribure as GenderVal and bind the type of this attribute to the dictioanry data type which you created
Now create a UI element as RadioButton and binbd the context attribute created above.
Now you can see the Gender filed as Male and Female
Thanks&Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
refer this link,
UI Element Guide
http://help.sap.com/saphelp_nw70/helpdata/en/9f/656442a1c4de54e10000000a155106/frameset.htm
Regards,
ramesh
Hi,
to populate check box group the following code helpful,
context Structure is as follows
root
.
.Items
.SelectedText
.
// populate check box group
for (int i = 0; i < 3; ++i)
{
IItemsElement e = wdContext.nodeItems().createItemsElement();
wdContext.nodeItems().addElement(e);
e.setSelectedText("Item #" + i);
}
Regards,
ramesh
Edited by: Ramesh Babu V on Oct 29, 2008 4:27 PM
Search the forum and you will find the answer.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please follow this link to design good UI
https://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/library/uuid/0e617bc3-0401-0010-2c82-81f82e73300e
Regards,
Lakshmi Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
define a simpletype with enumeration values male and female.
create a attribute of this simple type and bind this to radiobuttongroupbykey ui element.
Regards,
ramesh
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.