[
https://issues.apache.org/jira/browse/ISIS-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood closed ISIS-975.
------------------------------------
Resolution: Won't Fix
> [WON'T FIX] Allow the prototype facet to be associated with properties and
> collections, not just actions.
> ---------------------------------------------------------------------------------------------------------
>
> Key: ISIS-975
> URL: https://issues.apache.org/jira/browse/ISIS-975
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core, Isis Viewer Wicket
> Affects Versions: viewer-wicket-1.7.0, core-1.7.0
> Reporter: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0-M3
>
>
> Currently we have the ability to make actions into a prototype, meaning that
> they are only shown in prototype mode (--type SERVER_PROTOTYPE or Wicket
> development mode) and hidden during production mode (--type SERVER, or Wicket
> deployment mode).
> Because of they way that they are implemented, contributed properties and
> contributed collections also "inherit" this prototyped-ness; they will also
> be hidden in prototype mode.
> However, there is no way to hide regular (non-contributed) properties or
> collections when not running in prototype mode.
> ~~~
> Don't think that this is a particularly significant issue, but it is an area
> of asymmetry in our metamodel so should probably be cleaned up, ie by
> introducing the notion of prototype for properties or collections.
> This should be implemented as a new "prototype" attribute in @PropertyLayout
> and @CollectionLayout.
> The Wicket viewer will need to honour this when rendering the entity forms
> (EntityPropertiesForm component etc).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)