|
Hi dionak,
Thanks for your reply. Its working fine now.
This is my code,
<h:commandButton id="save" value="Save" onclick="fun()" />
function fun() {
top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/patient/patient.jsf','myconsole',
'width=350,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0')
top.consoleRef.document.close()
}
When i click Save command button, the small browser window is opening.
but its opening like browser, i want to open an window with my own custom title at the top of the window.
How to solve this......
Thanks,
Vinutha.
|