You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2010/09/27 12:08:32 UTC
[jira] Created: (EXTCDI-62) PreViewConfigNavigateEvent for
navigation via view configs
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.
[jira] Resolved: (EXTCDI-62) PreViewConfigNavigateEvent for
navigation via view configs
Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTCDI-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved EXTCDI-62.
------------------------------------
Resolution: Fixed
> 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.