ovidiu      02/04/14 22:23:57

  Modified:    src/scratchpad/schecoon/webapp/examples/calc calc.js
  Log:
  Updated the URI of the pages to reflect the location relative to the
  current directory.
  
  Revision  Changes    Path
  1.6       +3 -3      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- calc.js   10 Apr 2002 00:47:06 -0000      1.5
  +++ calc.js   15 Apr 2002 05:23:57 -0000      1.6
  @@ -18,20 +18,20 @@
   
   function getNumber(name, a, b)
   {
  -  var uri = "calc/getNumber" + name.toUpperCase() + ".html";
  +  var uri = "getNumber" + name.toUpperCase() + ".html";
     sendPage(uri, { "a" : a, "b" : b });
     return parseFloat(cocoon.request.getParameter(name));
   }
   
   function getOperator(a, b)
   {
  -  var uri = "calc/getOperator.html";
  +  var uri = "getOperator.html";
     sendPage(uri, { "a" : a, "b" : b });
     return cocoon.request.getParameter("operator");
   }
   
   function sendResult(a, b, op, result)
   {
  -  sendPage("calc/displayResult.html",
  +  sendPage("displayResult.html",
              { "a" : a, "b" : b, "operator" : op, "result" : result });
   }
  
  
  

----------------------------------------------------------------------
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