Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 ap:commandlink 来保存 m =y 页面中的顶部面板。但由于它是一个 ajax 调用,因此没有得到确认保存的信息对话框。任何人都可以提出解决方案。
我还想知道是否可以从支持 bean 类调用对话框..
您可以从支持 bean 调用对话框。为您的对话框设置 widgetVar 属性,然后在您可以调用的支持 bean 方法中: RequestContext.getCurrentInstance().execute("widgetName.show()").
RequestContext.getCurrentInstance().execute("widgetName.show()")
对于 commandLink 的问题,您必须在帖子中添加您的代码。