@Override
public void processValidators(FacesContext context) {
if (isSubmitted()) {
for (Iterator it = getFacetsAndChildren(); it.hasNext();) {
UIComponent childOrFacet = (UIComponent) it.next();
childOrFacet.processValidators(context);
}
//TODO: check if validation has failed and reset rendered if needed
if (context.getRenderResponse()) {
setActivated(true);
}