Skip to main content

JSF2 Nightly Build - s:selectItens not working?

2 replies [Last post]
israelbgf
Offline
Joined: 2009-03-31
Points: 0

I thought that the s:selectItem in JSF2 supports collections of objects, not only SelectItens, but mine is not working as expected:

My backing-bean is with the ViewScope, and i get the following error when i try to submit the form:

"Conversion Error setting value 'org.jsf2sample.entity.Cidade@28c5419f' for 'null Converter'."

Am I doing something wrong?

Thks in advance,

Israel

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

On 3/31/09 6:51 AM, webtier@javadesktop.org wrote:
> I thought that the s:selectItem in JSF2 supports collections of objects, not only SelectItens, but mine is not working as expected:
>
>
>
>

>
> My backing-bean is with the ViewScope, and i get the following error when i try to submit the form:
>
> "Conversion Error setting value 'org.jsf2sample.entity.Cidade@28c5419f' for 'null Converter'."
>
> Am I doing something wrong?
>
Regardless of the f:selectItems simplification, you'll still need a
converter to convert the submitted value
to the model type.
> Thks in advance,
>
> Israel
> [Message sent by forum member 'israelbgf' (israelbgf)]
>
> http://forums.java.net/jive/thread.jspa?messageID=339851
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: webtier-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net

israelbgf
Offline
Joined: 2009-03-31
Points: 0

Thks for the answer.

Israel