aspose file tools
The moose likes JSF and the fly likes Opening Next Page in New Window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Opening Next Page in New Window" Watch "Opening Next Page in New Window" New topic
Author

Opening Next Page in New Window

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
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

Joined: May 19, 2008
Posts: 16
use javascript to open new window on the onclick event of commandButton
Arshad Sharief
Greenhorn

Joined: Feb 23, 2006
Posts: 14

You can have action="dialogperation" useWindow="true" windowWidth="600" windowHeight="180" in your commandButton. Have a navigation case map to the jsp page.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Opening Next Page in New Window
 
Similar Threads
jQuery UI Widget issue
Doubt on target=_BLANK
Submit button
Reloading a parent window 1 after submit from window 2
Regarding dynamic table generation