code: public static void setCurrentOperationDetails(final AjaxOperation operation, final ComponentWithContext trigger) {
  		if (operation == null) {
  			THREAD_LOCAL_OPERATION.remove();
  		} else {
  			THREAD_LOCAL_OPERATION.set(operation);
  		}
  
  		if (trigger == null) {
  			THREAD_LOCAL_COMPONENT_WITH_CONTEXT.remove();
  		} else {
  			THREAD_LOCAL_COMPONENT_WITH_CONTEXT.set(trigger);
  		}
  	}
docs: Sets the current AJAX operation details.
  
  @param operation the current AJAX operation.
  @param trigger the current AJAX operation trigger and its context.