将对话框定位在命令链接的正下方

发布于 2024-11-17 12:43:28 字数 177 浏览 4 评论 0原文

如何指定 primefaces 对话框的位置。我可以使用该属性作为position=top,但是我可以根据 x,y 坐标定义确切的位置吗?

我实际上需要在 commandLink 组件下方显示对话框。任何有关我如何实现这一目标的帮助都将受到赞赏。

How to specify the position for the primefaces dialog. I am able to use the attribute asposition=top but can I define the exact position in terms of x,y coordinates.

I actually need to display the dialog box just below a commandLink component. Any help on how I can achieve that is appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千寻… 2024-11-24 12:43:28

是的,位置属性将采用 x,y 坐标。

<p:dialog header="My Dialog" widgetVar="dialog" position="50,100"></p:dialog>

Yes the position attribute will take x,y coordinates.

<p:dialog header="My Dialog" widgetVar="dialog" position="50,100"></p:dialog>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文