OpenDialog position top
Posted: 16 Sep 2016, 19:42
I'm tryin to put this code
Map<String, Object> options = new HashMap<>();
options.put("modal", true);
options.put("position", "top");
options.put("draggable", true);
options.put("resizable", false);
//options.put("maximizable", true);
options.put("responsive", true);
RequestContext.getCurrentInstance().openDialog("mydialog", options, null);
But the option options.put("position", "top"); is not working..
Any idea why?
Map<String, Object> options = new HashMap<>();
options.put("modal", true);
options.put("position", "top");
options.put("draggable", true);
options.put("resizable", false);
//options.put("maximizable", true);
options.put("responsive", true);
RequestContext.getCurrentInstance().openDialog("mydialog", options, null);
But the option options.put("position", "top"); is not working..
Any idea why?