It seems it is impossible to launch several dialogs using the same URL.
Code: Select all
private void launchNewDialog(String url)
{
Map<String,Object> options = new HashMap<String, Object>();
options.put("draggable", true);
options.put("resizable", true);
options.put("minimizable", true);
options.put("maximizable", true);
options.put("width", 640);
options.put("height", 340);
options.put("contentWidth", "100%");
options.put("contentHeight", "100%");
Logger.getGlobal().info("Opening " + url);
PrimeFaces.current().dialog().openDynamic(url, options, null);
}
But nothing happens when trying to display a dialog with the same URL than another dialog (no error and nothing displayed).
Is it an expected behavior ? Or am I doing something wrong ?
I'm using Primefaces 7.0 and Mojarra 2.3.9
Regards.
--
Xavier