Matthias, I have made the test and it's OK with get<attributName> when using Boolean. I think that this implementation is not the best one... Is there an other way to do when the only method available is is<attName> ?? Sometimes it's not possible to access the java code to modify the is to get method !!!
Fred -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: vendredi 11 janvier 2008 23:46 To: MyFaces Discussion Subject: Re: [Trinidad] tr:selectOneCheckbox and Boolean please help I think it was get for Boolean is for boolean ?? at least worth to try... -m On Jan 11, 2008 2:36 PM, VISTICOT FREDERIC <[EMAIL PROTECTED]> wrote: > It seems that mapping the selectOneCheckbox value attribute with a > Boolean does not work. > How to do this mapping ? > > Of course the solution is to use boolean instead of Boolean !!! But it > is not always possible !! > Is the solution to use a converter ??? It's not so user friendly !!! > > <tr:selectOneCheckbox value="#{myBean.value}"/> > > MyBean { > Private Boolean _value; > > Public Boolean isValue() {return _value;} Public void setValue(Boolean > value) {_value = value}; > > } > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

