@ Override public void processEvent ( SystemEvent event ) throws AbortProcessingException { if ( ! FacesContext . getCurrentInstance ( ) . isPostback ( ) ) { // if (!(getParent() instanceof Column)) { insertLabelBeforeThisInputField ( ) ; insertMessageBehindThisInputField ( ) ; } // } }
Catching the PreRenderViewEvent allows AngularFaces to modify the JSF tree by adding a label and a message .