2

Title says it all.

Can I invoke method like:

void myMethod()
{ 
    PrimeFaces.current().dialog().openDynamic("objectInfoPage"); 
}

so each time I do this, new dialog will appear ? Right now I have to close previous instance in order open new one.

Melloware
  • 10,435
  • 2
  • 32
  • 62
zajer
  • 649
  • 6
  • 17
  • You might want to look at doing it dynamically using the PF Dialog Framework: https://www.primefaces.org/showcase/ui/df/basic.xhtml – Melloware Jan 29 '19 at 12:12
  • Does myMethod method provided in example differs in any way from mentioned Dialog Framework? – zajer Jan 29 '19 at 14:33
  • I thought the Dialog Framework had a way of creating new dialogs and referencing them dynamically not just opening a dialog you already constructed. Maybe I am wrong though. – Melloware Jan 29 '19 at 15:45

0 Answers0