ovidiu      02/04/08 22:38:30

  Modified:    src/scratchpad/schecoon/webapp/examples/calc calc.js
  Log:
  Removed the old code.
  
  Revision  Changes    Path
  1.4       +0 -26     xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/calc.js
  
  Index: calc.js
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/calc.js,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- calc.js   30 Mar 2002 05:39:39 -0000      1.3
  +++ calc.js   9 Apr 2002 05:38:30 -0000       1.4
  @@ -35,29 +35,3 @@
     forwardTo("cocoon:/calc/displayResult.html",
               { "a" : a, "b" : b, "operator" : op, "result" : result });
   }
  -
  -// function getNumber(name, a, b)
  -// {
  -//   var filename = "examples/calc/getNumber" + name.toUpperCase() + ".xsp";
  -
  -//   sendPage("xsp",
  -//            { "source" : filename },
  -//            { "a" : a, "b" : b });
  -//   return parseFloat(cocoon.request.getParameter(name));
  -// }
  -
  -// function getOperator(a, b)
  -// {
  -//   sendPage("xsp",
  -//            { "source" : "examples/calc/getOperator.xsp" },
  -//            { "a" : a, "b" : b });
  -//   return cocoon.request.getParameter("operator");
  -// }
  -
  -// function sendResult(a, b, op, result)
  -// {
  -//   sendPage("xsp",
  -//            { "source" : "examples/calc/displayResult.xsp" },
  -//            { "a" : a, "b" : b, "operator" : op, "result" : result });
  -//   return cocoon.request.getParameter("operator");
  -// }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to