if(validatorMessage != null) writer.writeAttribute(HTML.VALIDATION_METADATA.VALIDATOR_MESSAGE, validatorMessage, null);
if(converterMessage != null) writer.writeAttribute(HTML.VALIDATION_METADATA.CONVERTER_MESSAGE, converterMessage, null);
//converter
if(converter != null && converter instanceof ClientConverter) {
ClientConverter clientConverter = (ClientConverter) converter;
Map<String,Object> metadata = clientConverter.getMetadata();
writer.writeAttribute(HTML.VALIDATION_METADATA.CONVERTER, ((ClientConverter) converter).getConverterId(), null);
if(metadata != null && !metadata.isEmpty()) {
renderValidationMetadataMap(context, metadata);