|
Hi,
I have a java script function like this to open one child window form main window. Its working properly.
function billingMain() {
top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/billingMain.jsf','window1',
'width=950,height=400'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0'
+',location=0')
top.consoleRef.document.close()
}
But when my child window opened, i want to open another child window from previous child window.
and here is the script follows for this,
function UB92Main() {
top.consoleRef=window.open('#{facesContext.externa lContext.requestContextPath}/main/billing/claimInformation.jsf','UB92',
'width=450,height=250'
+',menubar=0'
+',toolbar=0'
+',status=0'
+',scrollbars=1'
+',resizable=0'
+',location=0')
top.consoleRef.document.close()
}
here the second child window is not opening.
How to resolve this.
Thanks,
Vinutha.
|