PrimeFaces 将 tabView Id 添加到子项前面

发布于 2024-12-15 22:46:22 字数 270 浏览 2 评论 0原文

我确信其他人也有这个问题,但在任何地方都找不到答案。 我最近从 Primefaces 3.0.M2 切换到 3.0.M4。我有一个 id='tabViewId' 的 tabView。这个 id 被添加到 tabView 的所有 DOM 子元素前面,从而使我的所有 ajax 请求失败。 我如何指示 primefaces 不要将父 ID 添加到子 ID 前面?是否有类似于 form 的 prependId="false" 机制?

预先感谢大家,

Primefaces 3.0.M4 雄猫6

I am sure somebody else has this issue but can't find answer anywhere.
I recently switch from Primefaces 3.0.M2 to 3.0.M4. I have a tabView with id='tabViewId'. This id is prepended to all the DOM children of the tabView thus making all of my ajax requests failed.
How can I indicate to primefaces not to prependid the parent Id to children id ? Is there a mechanism like prependId="false" it is with form ?

Thanks you all in advance,

Primefaces 3.0.M4
Tomcat 6

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

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

发布评论

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

评论(1

夜巴黎 2024-12-22 22:46:22

你不能,就像你不能在数据表上添加 prependId="false" 一样。

You can't, just like you can't prependId="false" on datatable.

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