Subversion Repositories SmartDukaan

Rev

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

Rev 555 Rev 590
Line 73... Line 73...
73
    	
73
    	
74
    	params.put(PageContentKeys.USER_ID, new Long(userinfo.getUserId()).toString());
74
    	params.put(PageContentKeys.USER_ID, new Long(userinfo.getUserId()).toString());
75
    	params.put(PageContentKeys.CART_ID, new Long(userinfo.getCartId()).toString());
75
    	params.put(PageContentKeys.CART_ID, new Long(userinfo.getCartId()).toString());
76
    	params.put(PageContentKeys.USER_NAME, userinfo.getNameOfUser());
76
    	params.put(PageContentKeys.USER_NAME, userinfo.getNameOfUser());
77
    	params.put(PageContentKeys.ITEM_COUNT, new Long(userinfo.getTotalItems()).toString());
77
    	params.put(PageContentKeys.ITEM_COUNT, new Long(userinfo.getTotalItems()).toString());
78
    	params.put(PageContentKeys.IS_LOGGED_IN, new Boolean(userinfo.isLoggedIn()).toString());
78
    	params.put(PageContentKeys.IS_LOGGED_IN, Boolean.valueOf(userinfo.isLoggedIn()).toString());
79
    	
79
    	
80
    	htmlSnippets = pageManager.getPageContents(PageEnum.HOME_PAGE, params);
80
    	htmlSnippets = pageManager.getPageContents(PageEnum.HOME_PAGE, params);
81
    	
81
    	
82
        return new DefaultHttpHeaders("index");
82
        return new DefaultHttpHeaders("index");
83
    }
83
    }