Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!