}
}
//bean validation
if(requestContext.getApplicationContext().getConfig().isBeanValidationAvailable()) {
BeanValidationMetadata beanValidationMetadata = BeanValidationMetadataMapper.resolveValidationMetadata(context, comp, requestContext);
renderValidationMetadataMap(context, beanValidationMetadata.getAttributes());
validatorIds.addAll(beanValidationMetadata.getValidatorIds());
}
//required validation
if(component.isRequired()) {
writer.writeAttribute(HTML.VALIDATION_METADATA.REQUIRED, "true", null);