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