File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes <tr:selectOneRadio> issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "<tr:selectOneRadio> issue" Watch "<tr:selectOneRadio> issue" New topic
Author

<tr:selectOneRadio> issue

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
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?


Regards,
Gaurav
Chella Arun Raja Jayaraj
Greenhorn

Joined: Feb 24, 2009
Posts: 3
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

Joined: Oct 08, 2006
Posts: 2458
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <tr:selectOneRadio> issue