| Author |
How to have default value for radio button?
|
Vladislav Simovic
Ranch Hand
Joined: Feb 03, 2011
Posts: 37
|
|
I have written something like this:
bean
Now when i run this code no value is selected. What to do to have default value selected?
|
 |
Vladislav Simovic
Ranch Hand
Joined: Feb 03, 2011
Posts: 37
|
|
Found solution - in <h:selectOneRadio> in value attribute should be placed desired default value.
But alas I have one more problem, when i write code to show radio buttons, between them i have black lines. How can i remove them? I have attched small picture to illistrate what i am talking about.
|
 |
 |
|
|
subject: How to have default value for radio button?
|
|
|