PrimeFaces 将 tabView Id 添加到子项前面
我确信其他人也有这个问题,但在任何地方都找不到答案。 我最近从 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能,就像你不能在数据表上添加 prependId="false" 一样。
You can't, just like you can't prependId="false" on datatable.