I have seen a lot of answers talking about the use of <p:resetInput>
and <p:ajax resetValues="true">
works in the same way.
In this case Why does my form isn't reseting his styling after render? just the <p:ajax>
component worked for me.
I have read this posts but they always are treated as the same:
- How can I apply p:resetInput or p:ajax resetValue =“true” for p:dataList?
- How can I populate a text field using PrimeFaces AJAX after
validation errors occur?
I still can't understand the difference between this two if anyone have some documentation about it I would be really grateful.