Subversion Repositories SmartDukaan

Rev

Rev 10766 | Rev 11386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10766 Rev 10767
Line 119... Line 119...
119
        	//NotificationPojo np = new NotificationPojo();
119
        	//NotificationPojo np = new NotificationPojo();
120
            UserClient userServiceClient = new UserClient();
120
            UserClient userServiceClient = new UserClient();
121
            UserContextService.Client userClient = userServiceClient.getClient();
121
            UserContextService.Client userClient = userServiceClient.getClient();
122
            cartMsg = userClient.addItemToCart(id, itemId, 1, -1);
122
            cartMsg = userClient.addItemToCart(id, itemId, 1, -1);
123
            if (!("".equals(cartMsg))) {
123
            if (!("".equals(cartMsg))) {
124
            	String emailId = this.request.getParameter("emailId");
124
            	String emailId = this.request.getParameter("email");
125
            	log.info("QuesyString" + this.request.getParameterMap().toString());
125
            	log.info("QuesyString" + this.request.getParameterMap().toString());
126
    			if(emailId==null || emailId.equals("")){
126
    			if(emailId==null || emailId.equals("")){
127
    				rp.setMessage("Item is currently out of stock");
127
    				rp.setMessage("Item is currently out of stock");
128
    			} else {	
128
    			} else {	
129
        			try {
129
        			try {