You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/09/20 11:59:51 UTC
[jira] [Resolved] (ISIS-521) Xxx.layout.json is not read for
abstract classes (as used for parented collections)
[ https://issues.apache.org/jira/browse/ISIS-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood resolved ISIS-521.
------------------------------
Resolution: Not A Problem
Fix Version/s: (was: viewer-wicket-1.4.0)
viewer-wicket-1.3.0
For parented collections where the type is the abstract class, then Isis will use the .layout.json of the abstract class (if it exists).
For example, in Estatio we have:
public class Property {
SortedSet<Unit> getUnits() { ... }
}
public abstract class Unit { ... }
public class UnitForLease extends Unit { ... }
The objects stored in the collection are of type UnitForLease. However, the Property#units collection will be rendered according to Unit.layout.json, not UnitForLease.layout.json.
> Xxx.layout.json is not read for abstract classes (as used for parented collections)
> -----------------------------------------------------------------------------------
>
> Key: ISIS-521
> URL: https://issues.apache.org/jira/browse/ISIS-521
> Project: Isis
> Issue Type: Improvement
> Components: Viewer: Wicket
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Fix For: viewer-wicket-1.3.0
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira