File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Error when using Map.values() in dataTable
Tom van den Berge
Joined: Jul 18, 2007
Jul 18, 2007 14:55:00
I'm trying to display a dataTable, for which the value attribute is a Collection, obtained by calling the values() method on a
Although the resulting object is definitely a Collection type, and to my knowledge, should therefore be correctly rendered by
, it fails with the following message:
Error getting property 'myProp' from bean of type java.util.HashMap$Values
The dataTable is constructed like this:
A workaround for this problem is in the bean to wrap the HashMap.values() collection in an
before returning it.
However, I'd rather have a properly working dataTable!
Has somebody else encountered this problem? I couldn't find anything.
I agree. Here's the link:
subject: Error when using Map.values() in dataTable
Problem with submit()
Array of Object in DataTable
Reference outer dataTable var in inner dataTable
Input row select on data table does not get called
Using of nested Datatables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014