Have you tried the SelectOneRow Component in tomahawk sandbox, maybe this
is the right one for you.

regards

Ernst

On 6/28/06, kalpana <[EMAIL PROTECTED]> wrote:

Hi,

My requirement is to display radio buttons in a datatable. On selecting the
radio button and clicking on next button the selected rows values should be
displayed in the next page.

I tried using the selectOneRadio component of Tomahawk.

Following is the snippet of code i have used

<t:selectOneRadio id="select" forceId="true" forceIdIndex="false"
value="#{SourceInputController.select}" immediate="true"
valueChangeListener="#{SourceInputController.selectSourceInputRequest}">
<f:selectItems value="#{SourceInputController.selectList}" />
</t:selectOneRadio>

This code displays radio buttons with the same id. The issue is on load of
the page the last radio button is selected by default. When i click the next
button only the last row values displays irrespective of the selection i do.
Is there any possible to get rid of this issue.

Thanks in advance for the help.

Kalpana
--
View this message in context: 
http://www.nabble.com/Displaying-radio-buttons-in-datatable-tf1861637.html#a5084645
Sent from the My Faces - Dev forum at Nabble.com.


Reply via email to