Subversion Repositories SmartDukaan

Rev

Rev 620 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 620 Rev 637
Line 37... Line 37...
37
	}
37
	}
38
	
38
	
39
	 // GET /address
39
	 // GET /address
40
	 public HttpHeaders index() {
40
	 public HttpHeaders index() {
41
    	long userId = userinfo.getUserId();
41
    	long userId = userinfo.getUserId();
42
    	boolean isLoggedIn = !userinfo.isLoggedIn();
42
    	boolean isLoggedIn = userinfo.isLoggedIn();
43
		Map<PageContentKeys, String> params = new HashMap<PageContentKeys, String>();		
43
		Map<PageContentKeys, String> params = new HashMap<PageContentKeys, String>();		
44
		
44
		
45
		params.put(PageContentKeys.CUSTOMER_ID, userId+"");
45
		params.put(PageContentKeys.CUSTOMER_ID, userId+"");
46
		params.put(PageContentKeys.IS_LOGGED_IN, isLoggedIn+"");
46
		params.put(PageContentKeys.IS_LOGGED_IN, isLoggedIn+"");
47
		params.put(PageContentKeys.CART_ID, userinfo.getCartId()+"");
47
		params.put(PageContentKeys.CART_ID, userinfo.getCartId()+"");