UIComponent parent) throws IOException, FacesException, FaceletException, ELException
{
if(ComponentSupport.isNew(parent))
{
ActionSource actionSource = (ActionSource)parent;
ReturnActionListener listener = new ReturnActionListener();
if (_value != null)
{
ValueExpression valueExp = _value.getValueExpression(faceletContext, Object.class);
listener.setValueBinding(ReturnActionListener.VALUE_KEY, new LegacyValueBinding(valueExp));
}
actionSource.addActionListener(listener);
}