Package models

Examples of models.Auction.update()


        //auction.setStartingPrice(new Float (multi.getParameter("editStartingPrice")));
                                //auction.setMinPrice( new Float (multi.getParameter("editMinPrice")));
                                auction.setShipping(multi.getParameter("editShip"));
                                auction.setUserId(new Integer(multi.getParameter("editCat")));
                                auction.setDescription(multi.getParameter("editDesc"));
                                auction.update();
      }
          }

                response.sendRedirect(request.getContextPath() + "/admin/auctions");
View Full Code Here


            String bid = request.getParameter("bid");
            Integer id = new Integer(request.getParameter("id"));
            Auction a = Auction.getById(id);
            a.setLastPrice(new Float(bid));
            a.setLastUserId(u.getId());
            a.update();

            response.sendRedirect(request.getContextPath());
       
        }
        else if(servletPath.equals("/auctions/save"))
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.