Subversion Repositories SmartDukaan

Rev

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

Rev 8554 Rev 8555
Line 135... Line 135...
135
	 
135
	 
136
    public HttpHeaders show() throws Exception {
136
    public HttpHeaders show() throws Exception {
137
		contextName = ActionContext.getContext().getName();
137
		contextName = ActionContext.getContext().getName();
138
    	log.info("id=" + id);
138
    	log.info("id=" + id);
139
    	categoryId = Long.parseLong(id);
139
    	categoryId = Long.parseLong(id);
140
    	if (categoryId == 10001 ||categoryId == 10002 ||categoryId == 10003 ||categoryId == 10004 ||categoryId == 10005){
140
    	if (categoryId == 10001l ||categoryId == 10002l ||categoryId == 10003l ||categoryId == 10004l ||categoryId == 10005l){
141
    		redirectUrl = "/mobile-phone/10006";
141
    		redirectUrl = "/mobile-phone/10006";
142
    		return new DefaultHttpHeaders("redirect");
142
    		return new DefaultHttpHeaders("redirect");
143
    	}
143
    	}
144
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
144
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
145
    	
145