Add an additional comment to clarify removal of doPost()
authorAntonio Moreno <antonio.moreno@openbravo.com>
Tue, 08 Mar 2011 13:15:00 +0100
changeset 11089 5ca988e24a8c
parent 11088 ae2755c148fd
child 11090 6f23b67db4fa
Add an additional comment to clarify removal of doPost()
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Tue Mar 08 13:09:33 2011 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Tue Mar 08 13:15:00 2011 +0100
@@ -799,6 +799,9 @@
           init.invoke(calloutInstance, initArgs);
           CalloutHttpServletResponse fakeResponse = new CalloutHttpServletResponse(rq.getResponse());
           Object[] arguments = { rq.getRequest(), fakeResponse };
+
+          // We invoke the service method. This method will automatically call the doPost() method
+          // of the callout servlet
           service.invoke(calloutInstance, arguments);
           String calloutResponse = fakeResponse.getOutputFromWriter();