AsynchDataDispatcherEntry.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. *+------------------------------------------------------------------------+
  3. *| Licensed Materials - Property of IBM
  4. *| IBM Cognos Products: Viewer
  5. *| (C) Copyright IBM Corp. 2001, 2011
  6. *|
  7. *| US Government Users Restricted Rights - Use, duplication or
  8. *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *|
  10. *+------------------------------------------------------------------------+
  11. */
  12. /*
  13. *******************************************************************************
  14. *** View DispatcherEntry.js for information on the dispatcher entry classes ***
  15. *******************************************************************************
  16. */
  17. function AsynchDataDispatcherEntry(oCV) {
  18. // create the AsynchDATARequest
  19. if (oCV) {
  20. var request = new AsynchDATARequest(oCV.getGateway(), oCV.getWebContentRoot());
  21. this.setRequest(request);
  22. AsynchDataDispatcherEntry.baseConstructor.call(this, oCV);
  23. AsynchDataDispatcherEntry.prototype.setDefaultFormFields.call(this);
  24. }
  25. }
  26. AsynchDataDispatcherEntry.prototype = new DispatcherEntry();
  27. AsynchDataDispatcherEntry.baseConstructor = DispatcherEntry;
  28. AsynchDataDispatcherEntry.prototype.setDefaultFormFields = function() {
  29. this.addFormField("cv.responseFormat", "data");
  30. };