I use PrimeFaces as JSF component library and try to implement a basic and mechanism that allows the user to see which input elements on the page have been changed. The idea is to hook to the onchange event and to set a different border color with Javascript as follows:I use PrimeFaces as JSF component library and t