final MimeType mimeType = getMimeType(grailsApplication, bindingSource);
return registry.createDataBindingSource(mimeType, bindingTargetType, bindingSource);
}
public static CollectionDataBindingSource createCollectionDataBindingSource(GrailsApplication grailsApplication, Class bindingTargetType, Object bindingSource) {
final DataBindingSourceRegistry registry = getDataBindingSourceRegistry(grailsApplication);
final MimeType mimeType = getMimeType(grailsApplication, bindingSource);
return registry.createCollectionDataBindingSource(mimeType, bindingTargetType, bindingSource);
}