Hi Hector,
@CollectionLayout applies only to collections, that is, getters that return
a java.util.Collection (or subtype).

To specify page size of an action (if memory serves) you should use
@DomainObjectLayout.

Again, consider using layout.xml instead of annotations.

HTH
Dan

On 25 Jul 2016 02:16, "Hector Fabio Meza" <[email protected]>
wrote:

> Hi,
>
> I have a question about the annotation @CollectionLayout and the "paged"
> attribute.
>
> I have applied it to an action that returns a List of Objetcts with a
> value of paged=10, which is used as a "list all" option in the menu. The
> list is still showing 5 elements per page.
>
> After reading the documentation " It is also possible to apply the
> annotation to actions of domain services that are acting as contributed
> collections.", I'm wondering if this only applies to collections that are
> attributes of another object.
>
> Can I control the number of elements per page on collections that are the
> result of an action?
> --
>
> *Hector Fabio Meza*
> *R&D Lead smartools*
> (57) 300 2254455 <%2857%29%20300%206815404>
> Skype: hectorf.meza
> www.smartools.com.co
>
>

Reply via email to