I use sort parameters of type FieldTable where field is a meta data
type describing a field in (or reachable through joins from) the table
represented by the Table class.
My data provider then uses the currently selected Field to create the
ORDER BY part of the SQL.
Cheers,
Jesse
On
It might be due to the fact that I am sick but I don't get why
SortParam.getProperty doesn't return a String but T.
So far I always used getProperty as vasis for a PropertyModel to resolve things.
Any hint would be appreciated,
Jochen
It's just that some devs wanted to use other things than strings to
identify the sort order:
https://issues.apache.org/jira/browse/WICKET-4535
Perhaps Jesse has an example?
Sven
On 11/17/2012 01:19 PM, Jochen Mader wrote:
SortParam.getProperty doesn't return a String butIt might be due
On Sat, Nov 17, 2012 at 3:42 PM, Sven Meier s...@meiers.net wrote:
It's just that some devs wanted to use other things than strings to identify
the sort order:
https://issues.apache.org/jira/browse/WICKET-4535
Perhaps Jesse has an example?
Sven
On 11/17/2012 01:19 PM, Jochen Mader
I was just about to answer my own question.
We migrated a big part of our application to use LambdaJ instead of
PropertyModels. With getProperty being generic it's now possible to
use it instead of passing around strings.
Thanks,
Jochen
On Sat, Nov 17, 2012 at 4:01 PM, Jochen Mader