final NodeRef ref = new NodeRef(Repository.getStoreRef(), id);
RetryingTransactionHelper txnHelper = Repository.getRetryingTransactionHelper(fc);
RetryingTransactionCallback<Object> callback = new RetryingTransactionCallback<Object>() {
public Object execute() throws Throwable {
ActionImpl action = new ActionImpl(ref, BaseExecuter.NAME, null);
action.setParameterValue(BaseExecuter.PARAM_ACTIVE, activeFlag);
BaseExecuter actionExecuter = (BaseExecuter) FacesContextUtils.getWebApplicationContext(fc).getBean(BaseExecuter.NAME);
actionExecuter.execute(action, ref);
String msg = Application.getMessage(fc, MSG_SUCCESS_WEB_SET_ACTIVE);
FacesMessage facesMsg = new FacesMessage(FacesMessage.SEVERITY_INFO, msg, msg);