Subversion Repositories SmartDukaan

Rev

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

Rev 8266 Rev 8938
Line 222... Line 222...
222
		}
222
		}
223
		
223
		
224
		xmlSnippets.add("\t</Properties>");
224
		xmlSnippets.add("\t</Properties>");
225
		
225
		
226
		xmlSnippets.add("\n\t<Categories>");
226
		xmlSnippets.add("\n\t<Categories>");
227
		
-
 
228
		// Iterate over all categories
-
 
229
		/*
-
 
230
		Category rootCategory = defs.getCategory(Catalog.getInstance().getRootCategory().getID());
-
 
231
		List<Category> children = rootCategory.getChildrenCategory();
-
 
232
		for (Category child : children) {
-
 
233
 
227
 
234
			String categoryXMLSnip = this.getCategoryXMLSnippet(child, 2);
-
 
235
			Utils.info("categoryXMLSnip=" + categoryXMLSnip);
-
 
236
			
-
 
237
			xmlSnippets.add(categoryXMLSnip);
-
 
238
		}
-
 
239
		*/
-
 
240
		
-
 
241
		Category rootCategory = defs.getCategory(Catalog.getInstance().getRootCategory().getID());
228
		Category rootCategory = defs.getCategory(Catalog.getInstance().getRootCategory().getID());
242
		String categoryXMLSnip = this.getCategoryXMLSnippet(rootCategory, 2);
229
		String categoryXMLSnip = this.getCategoryXMLSnippet(rootCategory, 2);
243
		Utils.info("categoryXMLSnip=" + categoryXMLSnip);
230
		Utils.info("categoryXMLSnip=" + categoryXMLSnip);
244
		
231
		
245
 
232