i have a ajax:commandButton with action=#{} and oncomplete="jsfunction" also i have validation on some fields
so if validation fails then it didnt call action but it execute the JS function written on oncomplete.
so i want if validation failed then oncomplete should not be executed, how can i acchive that?
check the code which handles condition of messages present there
http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?tab=editDataTable&cid=232910 (store button in modal panel)