Re: query-param decode=”false”

Splash Forums PrettyFaces Users query-param decode="false" Re: query-param decode=”false”


It sounds like you want to navigate to pageB without the query-parameter, but still have the value in the bean?

I think that version 3.1.0 or 3.1.1 includes support for the query-parameter onPostback attribute:

<query-param name=”param1″ onPostback=”false”> which should prevent that parameter from being injected again on navigation, but I don’t think there’s a way to exclude it.

Hmm… maybe a new enhancement request coming for this.

What is the problem with having the value in the URL? That’s really safer since it ensures bookmark-ability.

Without the query-parameter in the URL, your bean must be Session or Conversation scoped, and that’s not going to be bookmarkable.