gpt4 book ai didi

java - @all 在 JSF Ajax 中不起作用

转载 作者:太空宇宙 更新时间:2023-11-04 08:25:01 25 4
gpt4 key购买 nike

此行位于表单标记内:

<p:commandLink actionListener="#{questionBean.removeQuestion(question)}"
value="Delete" styleClass="delete" update="@all"/>

但是,它仅适用于@form。当我有 @all 时什么也不会发生。我希望不仅能够更新表单,还能够更新页面的其他部分。

最佳答案

primefaces 似乎不支持 update="@all"

虽然问题有点不同update="@all" is not working with "ui:include ..."

但仍然被多次提及

update="@all" does not work with PimeFaces.

另一个引用:Issue 2026: update="@all" is not working PrimeFaces ajax.

关于java - @all 在 JSF Ajax 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8744466/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com