[ 
https://issues.apache.org/jira/browse/DELTASPIKE-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018747#comment-14018747
 ] 

Gerhard Petracek edited comment on DELTASPIKE-623 at 6/10/14 6:32 AM:
----------------------------------------------------------------------

i could reproduce it only with omnifaces v1.7 and mojarra (with v1.6.x or 
myfaces-core it works without issues).
however, with the change for DELTASPIKE-626 it works with every combination.


was (Author: gpetracek):
i could reproduce it only with omnifaces v1.7 and mojarra (with v1.6.x or 
myfaces-core) it works without issues.
however, with the change for DELTASPIKE-626 it works with every combination.

> 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)

Reply via email to