((ActionSource) parent).setActionListener(new LegacyMethodBinding(actionListener));
}
} else if ("actionFromValue".equals(mode.getValue())) {
if (!value.isLiteral()) {
String result = value.getValue(faceletContext);
parent.getAttributes().put(name.getValue(), new ConstantMethodBinding(result));
}
} else if ("valueIfSet".equals(mode.getValue())) {
String expressionString = value.getValue();
while (isMethodOrValueExpression(expressionString) && isSimpleExpression(expressionString)) {
ValueExpression expression