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


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to