webtier@glassfish.java.net

Composite component with selectManyListBox

From: <forums_at_java.net>
Date: Wed, 10 Nov 2010 07:17:07 -0800

I want to include a selectManyListBox in a composite component, but cannot
succesfully pass the listbox's value as a interface attribute. A conversion
execption occures during the update model phase.

javax.faces.component.UpdateModelException:
java.lang.IllegalArgumentException: Cannot convert
[Ljava.lang.Object;@45033fb5 of type class [Ljava.lang.Object; to interface
java.util.List

I'm using jsf 2.1.0-b06

The list contains pojo's and I made converter for them.

When I extract the code from the component and include it directly in a
facelts it all works ok.

Has anyone succesfullt integrated a selectManyListBox in a composite
component?

I hava a little maven based proof of concept/failure available.



--
[Message sent by forum member 'vdweij']
View Post: http://forums.java.net/node/715263