{
log.debug("invalid component state: " + getComponent().getName());
for (InvalidValue iv : invalidValues)
{
log.debug("invalid value: " + iv);
if ( ifInvalid.refreshEntities() && iv.getBeanClass().isAnnotationPresent(Entity.class) )
{
refreshInvalidEntity( ifInvalid, iv.getBean() );
}
FacesMessages.instance().addToControl(iv);
}