-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
5.0.6
-
None
https://sourceforge.net/tracker/?func=detail&aid=2888787&group_id=152762&atid=785194
Auto-sorting, e.g. in listheader using sort="auto(property)" only works on bean-like classes.
If data comes from a generic data source, a Map<columnName, value> would be a typical representation.
FieldComparator could easily deal also with this kind of type by calling get("property") if the underlying object is a Map.
Change would be around org.zkoss.lang.reflect.Fields.get(Object obj, String name);