hi ludovic, ViewParameterMode#INCLUDE just adds "includeViewParams=true" to the outcome. it is needed in your case, because you configured NavigationMode.REDIRECT. (-> the behavior is the same as with std. jsf - you just provide the information in a type-safe way instead of using strings. the jsf implementation you are using will see the same in both cases, because deltaspike just transforms your config to a std. navigation string and forwards that string to the wrapped-/default-implementation).
regards, gerhard http://www.irian.at Your JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces, DeltaSpike and OpenWebBeans 2015-04-20 18:40 GMT+02:00 [email protected] <[email protected]>: > 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. > | > >
