[
https://issues.apache.org/jira/browse/ISIS-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274400#comment-17274400
]
Daniel Keir Haywood commented on ISIS-2510:
-------------------------------------------
[~hobrom] - Martin Hesse saw something like this also, I think. As a
workaround, I think that removing the wildcard, ie
Collection<ApplicationPermission> might work.
My guess is that our code to infer the type from Collection<? extends
ApplicationPermission> isn't quite sophisticated enough (but it can cope with
the non-wildcard version).
I was about to say that another workaround is to explicitly specify the type
using typeOf, but I see that in your example you are saying that doesn't work;
so maybe that's a precedence issue with the annotatino-based facet being
overridden by that inferred from the return type?
> 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)