Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
WebGrid dataSource
posted

Hi,

I am using <ig:gridView> tag to populate data (data is in an ArrayList, arraylist of an object) in a Facelet.
When I am passing the dataSource as the name of the list I am getting an error as:

"The following error occured in getParameterisedBoundProperty: java.lang.IllegalArgumentException: Cannot convert [obj1,obj2,obj3] of type class java.util.ArrayList to class javax.faces.model.DataModel"

Do I need to add the list to the DataModel object or FacesServlet should automatically convert it?

The exapmles available at the infragistics site pass list only. Can you please tell what wrong I am doing.

Thank you

 

Parents Reply Children