Questions tagged [selectoneradio]

JSF tag to create a single-select radio button group.

A <h:selectOneRadio> is a JSF UI component which generates a group of HTML <input type="radio"> elements which allows you to bind the selected value to a managed bean property.

Programmatically, it can be used in exactly the same way as <h:selectOneMenu>. Therefore, it's sufficient to just advance to its tag wiki page. You just have to substitute the <h:selectOneMenu> in all examples by <h:selectOneRadio>.

83 questions
0
votes
1 answer

Is there something like h:selectOneCheckbox?

I want something with design like many checkboxes and user must select only one checkbox. There is h:selectManyCheckbox, but thre isn't h:selectOneCheckbox. I also know to do it with h:selectOneRadio, but it shows all radio buttons in one line,…
Aram Gevorgyan
  • 2,175
  • 7
  • 37
  • 57
0
votes
3 answers

JSF selectOneRadio/ commandLink

here my idea with oneRadio here the with…
JavaNullPointer
  • 1,199
  • 5
  • 21
  • 43
0
votes
1 answer

Accepting the form submission with not selecting any radio button

I am writing an application with Java EE using JSF 1.2 and the Seam framework. I have a form which takes input from radio button like this:
Sazzadur Rahaman
  • 6,938
  • 1
  • 30
  • 52
0
votes
1 answer

How to personalize item display in a h:selectOneRadio component?

I am actually using h:selectOneRadio to display items, given to it from f:selectItems tag. Rather than displaying a text, I wanna prefer to display an image. How is it possible, since there I have not found any way to render html coming from the…
ipingu
  • 307
  • 1
  • 5
  • 13
-1
votes
1 answer

update a form dynamically on h:selectOneRadio value select

I have an existing form that has a radio select button. What I wanted is, whenever the user makes a choice of selecting any one value, either an input text box or a hyperlink should be displayed on the same form. I think I am on the right track of…
Pankaj
  • 346
  • 1
  • 3
  • 14
-1
votes
2 answers

How to update p:selectOneRadio value through component binding

I have bound a p:selectOneRadio component as below,
-1
votes
1 answer

Set up default radio button h:selectOneRadio on JSF

I have this code I wanted to know if there is a way to set up the …
ArLi91
  • 361
  • 1
  • 5
  • 8
-1
votes
2 answers

valueChangeListener not working with PrimeFaces selectOneRadio

I put a valueChangeListener on a primefaces selectOneRadio to render some components on the page according to the selected choice but it doesn't work
Eslam Hamdy
  • 7,126
  • 27
  • 105
  • 165
1 2 3 4 5
6