String[] validationMessages = null;
if (null != target) {
ELContext elContext = context.getELContext();
ValidationResolver validationResolver = createValidationResolver(
elContext.getELResolver(), calculateLocale(context),profiles);
ELContextWrapper wrappedElContext = new ELContextWrapper(elContext,
validationResolver);
// TODO - handle ELExceptions ?
try {
target.setValue(wrappedElContext, value);
} catch (ELException e) {