On 10 June 2013 20:23, GESCONSULTOR <o....@gesconsultor.com> wrote: > The @sortedby does not "alter" the query to the object store isn't it? >
No, it just does an inmemory sort (in EntityCollectionModel). Also, note: this annotation goes on (parented) collections. So, standalone collections (ie as returned from an action invocation) cannot be influenced / are untouched by this annotation. > So If using JDO and wanted the resultset to be returned in order it would > be needed to also add the proper JDO annotation, wouldn't it? > > Yes. In this case, presumably the query is as the result of invoking action, so see above. > Also, is there any API to specify resultset pagination on Queries? > > There is the beginnings of support, but it is not fully specified, and only the SQL Objectstore, not the JDO one, support it. > We have seen paged resultsets on the wicket but I'm not sure if > It's made in-memory or returned by JDO. > > It's all in-memory, I'm afraid. The @Paged annotation is used to define the ranges. Dan > > > Enviado desde mi iPhone > > El 10/06/2013, a las 20:01, Dan Haywood <d...@haywood-associates.co.uk> > escribió: > > > A few new features recently added to the Wicket viewer... > > > > 1. @SortedBy annotation, to allow different sort orders for parented > > collections (overriding to the natural sort order; applicable to > SortedSet > > collections) [1], [2] > > > > 2. columns in Wicket viewer's tables are now sortable [3] > > > > 3. a new autoComplete prefix can be used (similar to choices), providing > > the ability to do context-specific autocompletes. [4],[5],[6],[7] > > > > Enjoy! > > Dan > > > > [1] https://issues.apache.org/jira/browse/ISIS-430 > > [2] > > > http://isis.apache.org/applib-guide/reference/recognized-annotations/SortedBy.html > > [3] https://issues.apache.org/jira/browse/ISIS-432 > > [4] https://issues.apache.org/jira/browse/ISIS-433 > > [5] https://issues.apache.org/jira/browse/ISIS-434 > > [6] > > > http://isis.apache.org/applib-guide/how-tos/how-to-03-025-How-to-specify-an-autocomplete-for-an-action-parameter.html > > [7] > > > http://isis.apache.org/applib-guide/how-tos/how-to-03-015-How-to-specify-an-autocomplete-for-a-property.html >