[
https://issues.apache.org/jira/browse/ISIS-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood resolved ISIS-280.
------------------------------
Resolution: Fixed
> More consistent support for @Prototype and @Exploration, by utilizing the
> existing HidingInteractionAdvisor API
> ---------------------------------------------------------------------------------------------------------------
>
> Key: ISIS-280
> URL: https://issues.apache.org/jira/browse/ISIS-280
> Project: Isis
> Issue Type: Improvement
> Affects Versions: 0.2.0-incubating
> Reporter: Jeroen van der Wal
> Priority: Minor
> Fix For: isis-1.0.0
>
>
> Currently all viewers must explicitly test for the presence of PrototypeFacet
> and ExplorationFacet and then hide actinos if not consistent with the current
> deployment type.
> It would be better if instead PrototypeFacet and ExplorationFacet could
> implement HidingInteractionAdvisor, and so determine for themselves that an
> action should be hidden if required.
> To do this the DeploymentType (more precisely... the DeploymentCategory)
> would need to be part of the InteractionContext.
--
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