Subversion Repositories SmartDukaan

Rev

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

Rev 2595 Rev 2867
Line 74... Line 74...
74
    	
74
    	
75
		bestDealSnippets = getSnippets(bestDealCatalogIds);
75
		bestDealSnippets = getSnippets(bestDealCatalogIds);
76
		bestSellerSnippets = getSnippets(bestSellerCatalogIds.subList(0, bestSellerCount));
76
		bestSellerSnippets = getSnippets(bestSellerCatalogIds.subList(0, bestSellerCount));
77
		latestArrivalSnippets = getSnippets(latestArrivalCatalogIds).subList(0, latestArrivalCount);
77
		latestArrivalSnippets = getSnippets(latestArrivalCatalogIds).subList(0, latestArrivalCount);
78
		
78
		
79
    	htmlSnippets.put("MAIN_BANNER", pageLoader.getMainBannerHtml());
-
 
80
    	return "index";
79
    	return "index";
81
    }
80
    }
82
 
81
 
83
	/**
82
	/**
84
	 * Returns a list of snippets to be used on the home page corresponding to
83
	 * Returns a list of snippets to be used on the home page corresponding to
Line 102... Line 101...
102
			}
101
			}
103
		}
102
		}
104
		return snippets;
103
		return snippets;
105
	}
104
	}
106
    
105
    
107
	public String getMainBannerSnippet(){
-
 
108
		return htmlSnippets.get("MAIN_BANNER");
-
 
109
	}
-
 
110
	
-
 
111
	public List<String> getBestDealSnippets(){
106
	public List<String> getBestDealSnippets(){
112
		return bestDealSnippets; 
107
		return bestDealSnippets; 
113
	}
108
	}
114
	
109
	
115
	public List<String> getBestSellerSnippets(){
110
	public List<String> getBestSellerSnippets(){