如何在JSF中从bean打开对话框时设置Id?

时间:2018-05-07 09:56:34

标签: jsf primefaces

我正在从这样的支持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

0 个答案:

没有答案