Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

richfaces a4j:ajax action never executes

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)

like image 508
Emmanuel Kpoudosu Avatar asked Feb 02 '26 08:02

Emmanuel Kpoudosu


1 Answers

This is because there is no such attribute called "action" in a4j:ajax. Use "listener" attribute instead.

like image 89
Adrian Mitev Avatar answered Feb 04 '26 00:02

Adrian Mitev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!