This content has been marked as final.
Show 1 reply
-
1. Re: How to redirect from Java Bean to a new window or tab.
sivaprasad9394 Jun 20, 2013 6:17 AM (in response to sandy4you)Try adding like ,
<h:commandLink value="View" id="viewID1"
actionListener="#{docLibraryHome.loadViewImageListener}"
target="_blank" type="submit" style="text-decoration: none"/>
Here actionListener will do the backing bean process and it will open in new window.
you can also use ajax for it.