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

Paa Kojo Konduah Amos commented on DELTASPIKE-511:
--------------------------------------------------

Karl, thanks for the reply...I must say, I have tried both with actionlistener 
and action attributes of the command button...I know actionlistener is not for 
navigation...but I just tried with both.

The code I pasted is what I am using...I always try the examples online, before 
I do any serious implementation. 

> Navigation seems not to work
> ----------------------------
>
>                 Key: DELTASPIKE-511
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-511
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: BeanValidation-Module, JSF-Module
>    Affects Versions: 0.5, 0.6
>         Environment: Ubuntu , Java  7, Eclipse Kepler,  Widfly, 
>            Reporter: Paa Kojo Konduah Amos
>
> From the  online documenation on the JSF Module page, 
> public class MyPage implements ViewConfig{}  and 
> public  Class<? extends ViewConfig? toNextPage(){
>         
>         return MyPage.class;
> }
> My understanding is,  if i clicked on a button for example whose 
> action/actionListener points to MyPage's  toNextPage()  method, the 
> navigation never happens. 
> However, when i inject  ViewNavigationHandler and do the 
> .naviagteTo(MyPage.class), that works perfectly.
> Please why is this the case?  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to