Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Opening Next Page in New Window

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Page , index.faces and when i click the submit button the page navigates to the next page content.faces. is there a way i can accomplish this scenario whereby i click the submit button and the content.faces appears in another window (A newly created one)
 
Anu Sri
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use javascript to open new window on the onclick event of commandButton
 
Arshad Sharief
Greenhorn
Posts: 14
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have action="dialogperation" useWindow="true" windowWidth="600" windowHeight="180" in your commandButton. Have a navigation case map to the jsp page.
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!