ou, but I don't really understand why I should use any converter at
> all? Why I must convert my object to anything?
>
> -Original Message-
> From: David Delbecq <[EMAIL PROTECTED]>
> To: MyFaces Discussion
> Date: Mon, 17 Sep 2007 18:27:04 +0200
> Subje
;s constructor's "value" parameter and selectOneListBox
>
> You must either define an implicit converter "for-class" MyObject in
> your jsf-config.xml, or use and explicit converter in your
> h:selectOneListBox.
>
> In case of implicit convertion, type of #
You must either define an implicit converter "for-class" MyObject in
your jsf-config.xml, or use and explicit converter in your
h:selectOneListBox.
In case of implicit convertion, type of #{myBackingBean.listBoxValue}
will be used to decide what converter to use.
Regards,
David Delbecq
Evge
Hi,
every Object exept String needs a converter from and to String.
Standard Converters (Number/Date) are included in the lib, but for
custom classes you must provide
a converter.
Regards,
Volker
2007/9/17, Evgeniy Karimov <[EMAIL PROTECTED]>:
> Hi, I have some problem:
> Say I have
>
>
Hi, I have some problem:
Say I have
Where myBackingBean.listBoxValue is of type MyObject.
And myBackingBean.listBoxValuesList is ArrayList, which items are
constructed as:
new SelectItem(myObj, myObj.getDescription(), myObj.getDescription()), where
myObj is type of MyObject.
Everything
5 matches
Mail list logo