[jboss-cvs] jboss-seam/examples/seambay/view ...

Shane Bryzak sbryzak at redhat.com
Sun Jun 24 20:29:33 EDT 2007


  User: sbryzak2
  Date: 07/06/24 20:29:33

  Modified:    examples/seambay/view   test.js test.xhtml
  Log:
  added setAuctionPrice method
  
  Revision  Changes    Path
  1.13      +16 -0     jboss-seam/examples/seambay/view/test.js
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: test.js
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/view/test.js,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- test.js	25 Jun 2007 00:08:04 -0000	1.12
  +++ test.js	25 Jun 2007 00:29:33 -0000	1.13
  @@ -112,6 +112,22 @@
   svc.addParameter(new ServiceParam("Duration in days", "duration"));
   svc.setConversational(true);
   
  +svc = new ServiceMetadata("setAuctionPrice", "Create Auction");
  +svc.setDescription("Set starting price");
  +svc.setRequest("<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" " +
  +               "\n    xmlns:seam=\"http://seambay.example.seam.jboss.org/\">" +
  +               "\n  <soapenv:Header>" +
  +               "\n    <seam:conversationId xmlns:seam='http://www.jboss.org/seam/webservice'>#{conversationId}</seam:conversationId>" +
  +               "\n  </soapenv:Header>" +
  +               "\n  <soapenv:Body>" +
  +               "\n    <seam:setAuctionPrice>" +
  +               "\n      <arg0>#{price}</arg0>" +
  +               "\n    </seam:setAuctionPrice>" +
  +               "\n  </soapenv:Body>" +
  +               "\n</soapenv:Envelope>");
  +svc.addParameter(new ServiceParam("Starting price", "price"));
  +svc.setConversational(true);
  +
   svc = new ServiceMetadata("getNewAuctionDetails", "Create Auction");
   svc.setDescription("Get the auction details");
   svc.setRequest("<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" " +
  
  
  
  1.7       +6 -0      jboss-seam/examples/seambay/view/test.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: test.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/view/test.xhtml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- test.xhtml	24 Jun 2007 09:24:33 -0000	1.6
  +++ test.xhtml	25 Jun 2007 00:29:33 -0000	1.7
  @@ -17,6 +17,12 @@
   
       </div>
       
  +    <div id="tip">
  +      <div>
  +        <b>Tip:</b> use demo/demo to login.
  +      </div>
  +    </div>
  +
       <div id="detail">
         <div>
           Selected Web Service: <span id="selectedService">None</span>
  
  
  



More information about the jboss-cvs-commits mailing list