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

Gerhard Petracek reopened EXTCDI-62:
------------------------------------

      Assignee: Gerhard Petracek

> PreViewConfigNavigateEvent for navigation via view configs
> ----------------------------------------------------------
>
>                 Key: EXTCDI-62
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-62
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>
> in case of type-safe navigation via view configs it should be possible to 
> observe navigations which have a view-config for the source-view as well as 
> the target-view.
> it allows to introduce e.g. further type-safe mechanisms.
> protected void onViewConfigNavigation(@Observes PreViewConfigNavigateEvent 
> navigateEvent)
> {
>     if(Wizard.Page1.class.equals(navigateEvent.getFromView()) &&
>         !Wizard.Page2.class.equals(navigateEvent.getToView()))
>         {
>             //...
>         }
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to