Opening new window without using javascript..
Hi,
This is the second time iam posting this question. I didnt get satisfactory answer to my previous post..
Is there any possibility of displaying a new window on button click using only JSF and without using javascript? if yes please tell me how to do..
Thanks...
[290 byte] By [
JayKVa] at [2007-11-27 11:53:05]

# 2
> Yes, with target="_blank" in a link or a form.
Thanks for ur valuable suggestion. I changed the button to link.
Its working fine now without JavaScript.
Now i got another requirement. When user select some items and press a button in the new popup window, the window must close on button click and the parent window must refresh. This must also be done without using JavaScript.
Is this possible? Please give me an idea to do this.
Thanks.
JayKVa at 2007-7-29 18:48:17 >

# 4
Hi jayKV,
Its your homework or assignment, why with out using javascript to do all in your page,
May i know whats the reason,
# 5
Thanks for ur advice.
It seems that its not possible to close a window using jsf.
I will use javascript to close the window.
After closing the window i want to refresh the parent window automatically. If this is possible in jsf, tell me how to do it. If it not possible, tell me ur ideas on how to do it in JavaScript.
JayKVa at 2007-7-29 18:48:17 >

# 6
As long as you want to change things on the client side, you certainly cannot get around client side languages, like Javascript. JSF is a serverside language.