hi markus, you can use ViewParameterMode.INCLUDE for @Page(viewParams)
regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/11/4 markuslachat <[email protected]>: > > Hi, > > I am using the type safe navigation feature of CODI and need to implement a > reset button. The reset should reload the a @ViewAccessScoped Bean by its > view parameters. I set up a commandButton which returns the page and ends > all conversations in the windowContext. It works, but the view parameters > are lost as well (of course). This is my code: > > EnterPage: > public Class<? extends ViewConfig> reset() { > this.windowContext.closeConversations(); > return PagesMyPages.MyPage.MyEnterPage.class; > } > ----------------- > Facelet: > <h:commandButton id="resetButton" > action="#{enterPage.reset()}" > immediate="true" > value="reset" /> > > I am able to reload the entity in an ordinary reset method. However I am > trying to find a generic solution, which reloads the page in a state which > is exactly as it was when the user initially entered it. > > Thanks, > Markus > > -- > View this message in context: > http://old.nabble.com/How-to-%28elegantly%29-reset-a-page-with-type-safe-navigation-%28CODI%29-without-losing-viewParams--tp32780316p32780316.html > Sent from the MyFaces - Users mailing list archive at Nabble.com. > >

