• 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
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!