separate « Page « JSF Q&A





1. Show error within JSF page and continue rendering it instead of redirecting to separate error page    stackoverflow.com

Whenever there is an error during the load of a JSF facelet, JSF stops rendering the page at the point of the error and shows the error page instead (default behavior). ...

2. How to Open JSF Page in Separate Browser Window    coderanch.com

function doPopup(source) { //you can use the source to access a information that you need country = source.form[source.form.id + ":country"]; isPopup = false; if(isPopup) {//open as popup popup = window.open('TestBean.xhtml?country=' + country, '', 'height=400,width=400,toolbar=no,menubar=no,' + 'scrollbars=yes'); }else{ //open as new window tab popup = window.open('TestBean.xhtml','_blank'); } //set a value in the var openerFormId in the new window popup.openerFormId = source.form.id; popup.focus(); ...