I have problem refreshing dataTable content. Here is a portion of my code.
<h:inputText id="counterFeatures" value="#{myBean.quantity}">
<f:ajax event="change" render="myDataTable" execute="counterFeatures"></f:ajax>
</h:inputText>
What I like to do is when the quantity changes (dynamically with js script), call the setQuantity() method from my bean and update that value.
I tried with execute="@this" but it doesn't work too. And I need to say that it work when I set the event like event="keyup" but I want to make things happen automatically, cause after all the number is inserted there via JavaScript script.
I looked at some answer but I couldn't make it work due to my limited knowledge of jsf.
Thanks in advance