Subversion Repositories SmartDukaan

Rev

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

Rev 2306 Rev 2505
Line 69... Line 69...
69
	 * 
69
	 * 
70
	 */
70
	 */
71
	@Actions({
71
	@Actions({
72
		@Action("/all-mobile-phones"),
72
		@Action("/all-mobile-phones"),
73
		@Action("/all-mobile-accessories"),
73
		@Action("/all-mobile-accessories"),
-
 
74
		@Action("/tablets"),
74
		
75
		
75
		@Action("/business-phones"),
76
		@Action("/business-phones"),
76
		@Action("/high-end-multimedia-phones"),
77
		@Action("/high-end-multimedia-phones"),
77
		@Action("/low-end-multimedia-phones"),
78
		@Action("/low-end-multimedia-phones"),
78
		@Action("/basic-phones"),
79
		@Action("/basic-phones"),
Line 102... Line 103...
102
    public HttpHeaders show() throws SecurityException, IOException {
103
    public HttpHeaders show() throws SecurityException, IOException {
103
    	log.info("id=" + id);
104
    	log.info("id=" + id);
104
    	long categoryId = Long.parseLong(id);
105
    	long categoryId = Long.parseLong(id);
105
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
106
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
106
    	
107
    	
107
    	if( categoryId == Utils.MOBILE_PHONES_CATEGORY || categoryId == Utils.MOBILE_ACCESSORIES_CATEGORY ){
108
    	if( categoryId == Utils.MOBILE_PHONES_CATEGORY || categoryId == Utils.MOBILE_ACCESSORIES_CATEGORY || categoryId == Utils.TABLETS_CATEGORY ){
108
    		this.categoryTitle = "Mobile Price List India" + " | " + this.categoryName;
109
    		this.categoryTitle = "Mobile Price List India" + " | " + this.categoryName;
109
    	}else{
110
    	}else{
110
    		this.categoryTitle = this.categoryName.replace("Phones", "Mobile Phones");
111
    		this.categoryTitle = this.categoryName.replace("Phones", "Mobile Phones");
111
    	}
112
    	}
112
    	
113