[
https://issues.apache.org/jira/browse/DELTASPIKE-721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131974#comment-14131974
]
Gerhard Petracek commented on DELTASPIKE-721:
---------------------------------------------
it isn't supported intentionally.
i don't see the use-case, because switching the project-stage shouldn't lead to
different pages or page-configs.
imo that leads to too complex constellations in such a config and it's hard for
users to debug it.
however, you are welcome to provide a concrete use-case for it.
> Can't @Exclude a ViewConfig
> ---------------------------
>
> Key: DELTASPIKE-721
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-721
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module
> Reporter: Ron Smeral
> Priority: Minor
> Attachments: ds-exclude-viewconfig.zip
>
>
> It's currently not possible to {{@Exclude}} a ViewConfig.
> It seems to be a valid scenario, to want to swap view configurations based on
> project stage, given that it's possible to swap various other configurations
> and, more generally, any beans which affect the application behaviour based
> on conditions (e.g. project stage).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)