CriteriaFilterAndSort does not work with nested properties

classic Classic list List threaded Threaded
2 messages Options
jkl
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CriteriaFilterAndSort does not work with nested properties

jkl
Hi,

I'm using a DataTable with HibernateProvider and FilterForm + CriteriaFilterAndSort. This works well for simple properties (e.g. "name"), but not for nested properties (e.g. "user.name"). I get an exception

org.apache.wicket.WicketRuntimeException: Null object returned for expression: user.name for setting value: test on: {}
     at org.apache.wicket.util.lang.PropertyResolver.setValue(PropertyResolver.java:138)
     ...

Has anybody successfully used nested properties for such a data table?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: CriteriaFilterAndSort does not work with nested properties

Pragya
Hi,
I am also facing the same issue.

Could anybody please sugest a solution to this
Loading...