• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

JSF Navigation With Modal Dialogs  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSF 2 application with two pages. The application is invoked by another web application (which is not JSF) via the javascript command window.showModalDialog(). When this modal dialog displays, the content is the JSF application. There is a button on the JSF page which navigates to the second page of the JSF application. I am using faces-config to automate the navigation with a navigation rule. When I click on the button on the first JSF page, a new browser window is opened displaying the content of the second page.

Ideally, I would like to continue using the modal dialog window for the second JSF page. Is there a way I can do this?

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can change the "content" of the same modal on the button click, instead of trying to open a different modal.
 
Police line, do not cross. Well, this tiny ad can go through:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!