我正在从这样的支持bean打开对话框:
Map<String, Object> options = new HashMap<String, Object>();
options.put("resizable", true);
options.put("width", 1400);
options.put("contentWidth", "100%");
options.put("height", 800);
//...
RequestContext.getCurrentInstance().openDialog("/some.xhtml", options, null);
如何设置对话框ID?
我试图把它作为一个选项,但它没有帮助:
options.put("id", "someId");
谢谢! 附: Primefaces版本5.3