deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "l.penet@senat.fr" <l.pe...@senat.fr>
Subject Re: Question on JSF Module, NavigationParameterContext and ViewNavigationHandler
Date Mon, 20 Apr 2015 16:40:27 GMT
Sorry for the double post.

I just figured that NavigationParameterContext is to be used to add 
parameter to the current page, not for the next request.
So, in my case, if I change :

@Folder(name="/")
@View(navigation = View.NavigationMode.REDIRECT)
public interface Pages extends ViewConfig {
     class Accueil implements Pages { }

to

@Folder(name="/")
@View(navigation = View.NavigationMode.REDIRECT, viewParams = 
View.ViewParameterMode.INCLUDE)
public interface Pages extends ViewConfig {
     class Accueil implements Pages { }


it "works".

What should I do however to add parameters to the "new" redirect request ?

Thanks in advance,

Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|


Mime
View raw message