#316 Using the calculated collection editor for a regular collection

Not planned
open
nobody
None
5
2013-10-03
2013-09-12
Javier Paniza
No

Sometimes we need that a regular collection would be displayed with no ordering, searching, paging, etc., that is, just like a calculated collection. Therefore, would be interesting this possibility:

@OneToMany
@Editor("CalculatedCollection")
private Collection<MyElement> elements;

Or even better

@OneToMany
@AsCalculated
private Collection<MyElement> elements;

In the same way we have @AsEmbedded

Discussion