You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/03/29 00:39:14 UTC

[jira] [Created] (DELTASPIKE-336) support @Stereotype together with @ViewMetaData

Gerhard Petracek created DELTASPIKE-336:
-------------------------------------------

             Summary: support @Stereotype together with @ViewMetaData
                 Key: DELTASPIKE-336
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-336
             Project: DeltaSpike
          Issue Type: New Feature
          Components: JSF-Module
    Affects Versions: 0.4-incubating
            Reporter: Gerhard Petracek
            Assignee: Gerhard Petracek
             Fix For: 0.5-incubating


example:

@Target({TYPE})
@Retention(RUNTIME)
@Documented

@Stereotype
@ViewMetaData
@View(navigation = REDIRECT)
@interface FacesRedirect
{
}

->

interface Pages
{
    @FacesRedirect
    interface Public extends ViewConfig
    {
        class Index implements Public
        {
        }
    }
}

should result in the same as

interface Pages
{
    @View(navigation = REDIRECT)
    interface Public extends ViewConfig
    {
        class Index implements Public
        {
        }
    }
}

that also means

interface Pages
{
    @FacesRedirect
    @View(viewParams = INCLUDE)
    class Home implements ViewConfig
    {
    }
}

need to get merged to one instance of @View

--
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