{
methodExpression = context.getApplication().getExpressionFactory().
createMethodExpression(context.getELContext(),
attributeExpressionString, Void.TYPE,
new Class[]{ValueChangeEvent.class});
valueChangeListener = new MethodExpressionValueChangeListener(methodExpression);
}
else
{
// FIXME this will maybe need changes, because the second methodExpression
// is supposed to have zero args, but the underlying MethodExpression
// won't fulfill this requirement. -=Jakob Korherr=-
valueChangeListener = new MethodExpressionValueChangeListener(methodExpression, methodExpression);
}
((EditableValueHolder)innerComponent).addValueChangeListener(valueChangeListener);
}
}