deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DELTASPIKE-336) support @Stereotype together with @ViewMetaData
Date Thu, 28 Mar 2013 23:39:14 GMT
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

Mime
View raw message