myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (EXTCDI-62) PreViewConfigNavigateEvent for navigation via view configs
Date Mon, 27 Sep 2010 10:08:32 GMT
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.


Mime
View raw message