Re: Redirect to new tab/window

Splash Forums PrettyFaces Users Redirect to new tab/window Re: Redirect to new tab/window


So you want to open a new window as a result of a action method call invoked from a commandLink? I think this won’t be easy. Just some ideas that came to my mind:

  • Some frameworks provide the ability to push JavaScript to the client for ajax request. I think PrimeFaces supports something like this.
  • You could submit via ajax and hook into “oncomplete” to execute some JavaScript that does what you want.

    I hope this helps! :)