returns clientids of component for which validation has failed and adds form 's clientid at the end as a fallback if there is no invalid component or none of invalid components wo n't be focusable on the client . concode_field_sep RendererUtils RENDERER_UTILS concode_field_sep String[] getFocusCandidates concode_elem_sep String getFocusCandidatesAsString concode_elem_sep UIComponent getFocusedComponent concode_elem_sep String getFocusClientIds concode_elem_sep UIComponent getSubmittedFocus
String [ ] function ( FacesContext arg0 , UIForm arg1 ) { Iterator < String > loc0 = Iterators . filter ( arg0 . getClientIdsWithMessages ( ) , new Predicate < String > ( ) { @ Override public boolean apply ( String input ) { return input != null ; } } ) ; return Iterators . toArray ( loc0 , String . class ) ; }