Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<tr:selectOneRadio> issue

 
Kumar Gaurav
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am not able to select any of the radio button generated in this way

<tr:selectOneRadio id="finalSelectRadio"
binding="#{popUpForScheduleReconBean.recurFrequency}"
layout="vertical" onclick="submit()"
value="#{popUpForScheduleReconBean.recurFrequencyValue}"
valueChangeListener="#{popUpForScheduleReconBean.recurFrequencyChangeListener}">
<f:selectItems
value="#{popUpForScheduleReconBean.recurFrqList}" />
</tr:selectOneRadio>

can any one point out whr the problem is?
 
Chella Arun Raja Jayaraj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please confirm whether you need a radio button or drop down. If it is a radio button, then why you are referring a list inside <tr:selectOneRadio>.


The problem is with this only (<f:selectItems value="#{popUpForScheduleReconBean.recurFrqList}" /> ).
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chella Arun Raja Jayaraj wrote:Please confirm whether you need a radio button or drop down. If it is a radio button, then why you are referring a list inside <tr:selectOneRadio>.


The problem is with this only (<f:selectItems value="#{popUpForScheduleReconBean.recurFrqList}" /> ).

I don't see how that's a problem? It's a radio button group where you can select one item from a list. It's perfectly valid.

To me, the actual problem can't be determined based on the as far given information. Please elaborate more.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic