throws IOException, FacesException, ELException {
if (parent instanceof ActionSource) {
if (ComponentSupport.isNew(parent)) {
ActionSource actionSource = (ActionSource) parent;
if (execute == null) {
actionSource.addActionListener(new ResetFormActionListener());
} else if (execute.isLiteral()) {
actionSource.addActionListener(new ResetInputActionListener(ComponentUtils.splitList(execute.getValue())));
} else {
ValueExpression forValueExpression = execute.getValueExpression(faceletContext, String.class);
if (FacesVersion.supports12()) {