Subversion Repositories SmartDukaan

Rev

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

Rev 1527 Rev 1549
Line 174... Line 174...
174
		Client client = null;
174
		Client client = null;
175
		
175
		
176
		try {
176
		try {
177
			catalogServiceClient = new CatalogServiceClient();
177
			catalogServiceClient = new CatalogServiceClient();
178
			client = catalogServiceClient.getClient();
178
			client = catalogServiceClient.getClient();
179
			List<Long> items = client.getBestDealsCatalogIds(1,4,-1);
179
			List<Long> items = client.getBestDealsCatalogIds(0,4,-1);
180
			List<String> itemList = new ArrayList<String>();
180
			List<String> itemList = new ArrayList<String>();
181
			for(Long item: items){
181
			for(Long item: items){
182
				itemList.add(FileUtils.read( Utils.EXPORT_ENTITIES_PATH + item + File.separator +"HomeSnippet.html"));
182
				itemList.add(FileUtils.read( Utils.EXPORT_ENTITIES_PATH + item + File.separator +"HomeSnippet.html"));
183
			}
183
			}
184
			context.put("itemList", itemList);
184
			context.put("itemList", itemList);
Line 865... Line 865...
865
				e.printStackTrace();
865
				e.printStackTrace();
866
			}
866
			}
867
	
867
	
868
		return null;
868
		return null;
869
	}
869
	}
870
}
-
 
871
870
}
-
 
871