|| at Jun 30, 2005 at 9:03 am
Rahul, I'm not sure what you're trying to achieve. Using the
selectOneRadio or selectManyCheckbox fromhttp://sourceforge.net/projects/jsf-comp/
is usefull if you just want to
have a list of radiobuttons or checkboxes rendered in more then 1 column.
So if that's what you're trying to achieve then this might be useful for
you. It does not use dataTable so if you want do other more complicated
things with it (f.e. combine the checkboxes with other components within
your table), you might need a dataTable for that and than you can't use
The selectOneRadio or selectManyCheckbox components fromhttp://sourceforge.net/projects/jsf-comp/
are just an extension to the
x:selectOneRadio and x:selectManyCheckbox components. It adds the column
parameter to specify how many columns the selectItem objects should be
You can find a jar on http://www.ivpv.UGent.be/~jan/myfacessandbox.jar
containing these components and the
necessary tld file since a jar is not included on the sourceforge website.
It meant to be used with myfaces 1.0.9 and not the current nightly build
version. This is because it extends the x:selectOneRadio and
x:selectManyCheckbox components and these components have undergone some
changes since the release of version 1.0.9.
Also on http://www.ivpv.UGent.be/~jan/selectTest.jsp
you can find a jsp
file that demonstrates the use of
Hope this helps.
On Wed, 29 Jun 2005 18:08:13 +0200, Rahul Pilani wrote:
Do you think it would do what I am trying to achieve? Also is there any
documentation available on the usage of the component and renderer?
Thanks a lot.
From: Jan Bols
Sent: Wednesday, June 29, 2005 12:41 AM
To: 'MyFaces Discussion'
Subject: Re: x:selectOneRadio and dataTable
I had the same problem but wasn't able to fix it. The thing I wanted to
is to have multiple columns of radiobuttons and checkboxes. I ended up
coding a new component and renderer called selectOneRadio and
selectManyCheckbox with an extra called "columns". You can download the
source from http://sourceforge.net/projects/jsf-comp/
On Wed, 29 Jun 2005 02:21:25 +0200, Rahul Pilani wrote:
I wanted to make the x:selectOneRadio to work within a dataTable. I read
forum archive and noticed that a lot of people are having the same
I was just wondering if anyone has found a possible solution to it yet.
not , what is the possible approach to get it to work?.. create a just a
renderer ? or create an entirely new component?
I got it working to a point that I was able to select only one radio for
entire column, but the value binding was not working, meaning the bean
wasn't getting the value set in form. I tried setting the binding
in the x:radio tag, but I couldn't get any useful information from that.
values still don't get passed onto the backing bean in any way.
IVPV - Instituut Voor Permanente Vorming
++32-(0)9-264 55 92