0

I would like to create a usual dialog window:

  • The user clicks a link or button
  • The screen becomes blackish, a new window appears (a DIV is created)
  • By using Ajax, the DIV is populated with a form.xhtml
  • By clicking on a cross in the DIV, the DIV is removed and the blackish screen too.

I know how to do some of this stuff with usual CSS/Jquery. However, I am lost on how the JSF link/button should call the Jquery code to create the dialog (because I am supposing that JSF cannot do it alone) and make the Ajax call to get the form.

I am not using auxiliary libraries.

user1156544
  • 1,725
  • 2
  • 25
  • 51

0 Answers0