on 06-02-2006 11:47 AM
Hi,
How can we make only one radio button enable and rest in disabled mode while loading the page.
Regards,
Venkat
What's the use case?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Requirement is to display two radio buttons( for ex. male and female) in the screen. while loading the page, only one radio button ( male ) should be checked.
I have created only one context attribute and mapped the same to the two radio buttons.
how to uncheck the second radio button ( female) when the page gets loaded.
Hi Armin,
Requirement is to display two radio buttons( for ex. male and female) in the screen. while loading the page, only one radio button ( male ) should be checked.
I have created only one context attribute and mapped the same to the two radio buttons.
how to uncheck the second radio button ( female) when the page gets loaded.
Hi,
1)if ur using a individual radio button u have two attribute one is key to select and another is selected key.
U should have two key to select for two radio button and one selected key commonly binded to both the radio button.
In the init method set the key to select for the two radio buttons(ie Male and female).
Then which radio button u want to select by default
is set by setting the selected key (ie male)
2) If ur using Radio button group by key,
Create an attribute change the type of attribute to dictionary data type(ie. Create a dictionary simple type
male and female) then bind it to the selected key property of the Radio button group by key.
In the init method set the attribute to male.
Regards,
Vijay
Hi,
Write in doinit.
1) for Individual radio button.
wdContext.currentContextElement().setKey("Male");
wdContext.currentContextElement().setKey_1("Female");
wdContext.currentContextElement().setSelectedkey("Male");
2) for radio button by key.
Create a dictionary simple type
ie. go to webdynpro explorer expand dictionary>data type>simpletype-->create simple type.Give name and package.
Select Enumuration tab
Add new--> value=1,description=male
Add new--> value=2,description=female
Write in doinit.
wdContext.currentContextElement().setSelectedkey("1");
Regards,
Vijay
Hi,
Set the enabled property of the radio button to false.
Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.