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.
我想创建一个带有 3 个切换面板的对话框作为图像,但我希望每次显示/隐藏切换面板时都会更改对话框大小。
这可以使用 Rich-Faces 对话框吗?
两者rich:modalPanel都有rich:popupPanel一个autosized属性,将其设置为 true ,它会做你想做的事。例如
rich:modalPanel
rich:popupPanel
autosized
<rich:popupPanel id="panel" autosized="true"> <rich:collapsiblePanel … <rich:collapsiblePanel … … </rich:popupPanel>