myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <>
Subject [jira] Created: (EXTCDI-86) alternative approach for @PageBean
Date Fri, 26 Nov 2010 23:55:14 GMT
alternative approach for @PageBean

                 Key: EXTCDI-86
             Project: MyFaces CODI
          Issue Type: Improvement
          Components: JEE-JSF12-Module, JEE-JSF20-Module
    Affects Versions: 0.9.0
            Reporter: Gerhard Petracek

within type-safe view configs it's possible to define page-beans via @PageBean.
so there is a central place for all page-bean definitions.

if users would like to define it directly at the bean, it should be possible to use the existing
@View annotation for the definition.
attention: @View is an interceptor - in case of a class level use it shouldn't be used as


public class DemoPageBean
    protected void preRenderView()

... means - as soon as the page defined by DemoPage.class should be used the methods with
the view-controller annotations should be invoked (at the corresponding time).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message