Reply To: [Bug] IncludeViewParams in command action are not handled.

Splash Forums Rewrite Users [Bug] IncludeViewParams in command action are not handled. Reply To: [Bug] IncludeViewParams in command action are not handled.

#24653

Hmmm, interesting. There are a few things you could try:

1. You could try to use a simple <h:commandButton> instead the PrimeFaces one

2. You could try to refer to an action method which simply returns the navigation string instead of hardcoding it. Something like this:

<p:commandButton action="#{something.navigate}"/>

public class Something {

  public String navigate() {
    return "/faces/foo.xhtml?faces-redirect=true&includeViewParams=true";
  }

}

3. Could you try to remove the first rule for /foo. Perhaps this is caused by the fact that there are two rules for /faces/foo.xhtml.