[ 
https://issues.apache.org/jira/browse/EXTCDI-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek resolved EXTCDI-86.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.1

> alternative approach for @PageBean
> ----------------------------------
>
>                 Key: EXTCDI-86
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-86
>             Project: MyFaces CODI
>          Issue Type: Improvement
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>    Affects Versions: 0.9.0
>            Reporter: Gerhard Petracek
>             Fix For: 0.9.1
>
>
> 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 interceptor.
> example:
> @View(DemoPage.class)
> @Model
> public class DemoPageBean
> {
>     @PreRenderView
>     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.

Reply via email to