Hi Isomorphic,
I noticed a strange behavior and I'm not sure if it has always been this way or is a bug.
I have a SelectItem with optionDataSource and a sortField. The displayField is not set via displayField, but via setPickListFields().
Now, if I don't include the sortField in the list of setPickListFields(), the request to the server does not include sortBy and the list is not sorted on the client either (=not displayed sorted in the GUI).
I know that if I want to use setCriterionGetter() I need to have the fields I want to generate criteria from in the setPickListFields()-list, usually as hidden fields.
But is this also true for sorting? If not, I can provide a testcase using latest 5.1p.
Best regards
Blama
I noticed a strange behavior and I'm not sure if it has always been this way or is a bug.
I have a SelectItem with optionDataSource and a sortField. The displayField is not set via displayField, but via setPickListFields().
Now, if I don't include the sortField in the list of setPickListFields(), the request to the server does not include sortBy and the list is not sorted on the client either (=not displayed sorted in the GUI).
I know that if I want to use setCriterionGetter() I need to have the fields I want to generate criteria from in the setPickListFields()-list, usually as hidden fields.
But is this also true for sorting? If not, I can provide a testcase using latest 5.1p.
Best regards
Blama
Comment