You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/01/29 11:55:00 UTC
[jira] [Commented] (ISIS-2510) WicketViewer: collection rendering
issue
[ https://issues.apache.org/jira/browse/ISIS-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274371#comment-17274371 ]
Andi Huber commented on ISIS-2510:
----------------------------------
the action works, the field does not: renders only the object links with no columns contributed
{code:java}
@org.apache.isis.applib.annotation.Collection(typeOf = ApplicationPermission.class)
public Collection<? extends ApplicationPermission> getOrphanedPermissions() {
return applicationPermissionRepository.findOrphaned();
}
@Action
public Collection<? extends ApplicationPermission> debugOrphanedPermissions() {
return applicationPermissionRepository.findOrphaned();
}
{code}
> WicketViewer: collection rendering issue
> ----------------------------------------
>
> Key: ISIS-2510
> URL: https://issues.apache.org/jira/browse/ISIS-2510
> Project: Isis
> Issue Type: Bug
> Components: Isis Viewer Wicket
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M5
>
>
> Collection of same typeOf (element type) render differently depending on whether originating from an action result or from a viewmodel field.
> For an example see comment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)