This bug has no Exception. The value is not correctly displayed as checked
because of a comparison of the variable which is not converted into String
so the result of the equals method returns false each time.
On Wed, 28 Sep 2005 15:55:56 +0200, Caroline Jen <[EMAIL PROTECTED]>
wrote:
Hi Stefano,
Is this the error message you are getting when
use valueChangeListener in the <h:selectOneRadio> tag:
"java.lang.IllegalArgumentException: Conversion Error
setting value ''{0}'' for ''{1}''."
Please help me to make sure that I ran into the
same problem. Here is my selectOneRadio code:
<h:selectOneRadio
value="#{dataManagementBean.dataTransferTypeItems[0]}"
layout="pageDirection" onchange="submit()"
immediate="true"
valueChangeListener="#{dataManagementBean.showRecordList}">
</h:selectOneRadio>
--Caroline
--- "stefanom (sent by Nabble.com)" <[EMAIL PROTECTED]>
wrote:
With myfaces version 1.09 I can use a Boolean method
in h:selectOneRadio value tag and the component
converts the Boolean value in String automatically.
In version 1.1 this conversion doesn't work and I
need to use another method for the conversion.
Thank you
Stefano
--
Sent from the MyFaces - Users forum at Nabble.com:
http://www.nabble.com/selectOneRadio-in-myfaces-1.1-t354851.html#a982138
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com