gpt4 book ai didi

jsf - richfaces a4j :ajax action never executes

转载 作者:行者123 更新时间:2023-12-02 06:04:22 27 4
gpt4 key购买 nike

我有这个

<h:inputText id="betOpTxt" validatorMessage="cannot be less than 10"
style="text-align: right; width: 100%"
value="#{amtAction.amount}">
<f:validateDoubleRange minimum="10" />
<rich:validator />
<a4j:ajax execute="@this" action="#{amtAction.performCalculation}" event="blur" />
</h:inputText>

a4j:ajax 的 Action 永远不会执行。我想知道出了什么问题请帮助(我在 richfaces 移动实现中)

最佳答案

这是因为在 a4j:ajax 中没有名为“action” 的属性。请改用“listener” 属性。

关于jsf - richfaces a4j :ajax action never executes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13531145/

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