• Post Reply Bookmark Topic Watch Topic
  • New Topic

windows.open()  RSS feed

 
Sajan Patel
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
I am using <h:commandLink and I would like to open O/P of this action in Another page. Right now I am trying with "target" but it is not working. So can anyone tell me How I can Open New Browser window.

Thanks in Advacne

Sajan Patel
 
Marius Cloete
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There, I hope this helps you in some way...

set the target of your form to a frame that does not exist this will open a new window with that name.



happy coding
 
ansar basha
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can also be done like this.
<h utputLink value="myPage.jsf" target="new"/>

Thanks
Ansar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!