mctx.addMethodExpressionTargeted(innerComponent, attributeName, actionListener);
}
else if ("validator".equals(attributeName))
{
//First try to remove any prevous target if any
Validator o = (Validator) mctx.removeMethodExpressionTargeted(innerComponent, attributeName);
if (o != null)
{
((EditableValueHolder)innerComponent).removeValidator(o);
}
// target is EditableValueHolder
Validator validator = null;
// If it is a redirection, a wrapper is used to locate the right instance and call it properly.
if (ccAttrMeRedirection)
{
validator = new RedirectMethodExpressionValueExpressionValidator(attributeNameValueExpression);
}