You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2014/06/05 00:17:01 UTC
[jira] [Resolved] (DELTASPIKE-623) Returning a ViewConfig from an
action method is broken
[ https://issues.apache.org/jira/browse/DELTASPIKE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved DELTASPIKE-623.
-----------------------------------------
Resolution: Not a Problem
> Returning a ViewConfig from an action method is broken
> ------------------------------------------------------
>
> Key: DELTASPIKE-623
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-623
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module
> Affects Versions: 1.0.0
> Environment: WildFly 8.0.0.Final (Mojarra 2.2.5-jbossorg-3)
> Reporter: Richard DiCroce
> Assignee: Gerhard Petracek
>
> I updated from DS 0.7 to 1.0.0-SNAPSHOT to fix DELTASPIKE-590 and now returning a ViewConfig from an action method is broken:
> {quote}
> Unable to find matching navigation case with from-view-id '/faces/index.xhtml' for action '#\{loginBean.logout()}' with outcome 'class com.lapis.jsf.framework.testwar.application.FacesPages$Index'
> {quote}
> {code}
> <h:commandButton value="Log out" action="#{loginBean.logout()}" />
> public Class<FacesPages.Index> logout() {
> user.logout();
> msgs.addInfo().logoutSucceeded();
> return FacesPages.Index.class;
> }
> {code}
> I did some debugging and it looks like NavigationHandlerAwareApplication.setNavigationHandler() is never called, so DeltaSpike's NavigationHandler is never even instantiated.
--
This message was sent by Atlassian JIRA
(v6.2#6252)