2

I have this

<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>

The action of a4j:ajax never executes. I wonder what is wrong Please help (i within the richfaces mobile implementation)

4

1 回答 1

11

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

于 2012-11-23T15:56:53.350 回答