You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2023/04/11 08:23:00 UTC
[jira] [Resolved] (CAUSEWAY-3414) @DomainObjectLayout(tableDecorator=Datables) seems to be ignored for parented collections.
[ https://issues.apache.org/jira/browse/CAUSEWAY-3414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Keir Haywood resolved CAUSEWAY-3414.
-------------------------------------------
Resolution: Fixed
> @DomainObjectLayout(tableDecorator=Datables) seems to be ignored for parented collections.
> ------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3414
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3414
> Project: Causeway
> Issue Type: Bug
> Components: Viewer Wicket
> Affects Versions: 2.0.0-RC1
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-RC2
>
> Attachments: image-2023-04-05-23-23-34-363.png
>
>
> The logic seems to be to honour this only for standalone collections, not parented collections.
> However, by contrast the `@DomainObjectLayout#paged` is honoured for both standaloane AND parented collections.
>
> The following code looks incorrect:
> !image-2023-04-05-23-23-34-363.png|width=839,height=163!
>
> because the parentedTableDecorator _will_ always return something, specifically the default of TableDecorator.Default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)