| 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){
|
| - |
|
141 |
redirectUrl = "/mobile-phone/10006";
|
| - |
|
142 |
return new DefaultHttpHeaders("redirect");
|
| - |
|
143 |
}
|
| 140 |
this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
|
144 |
this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(categoryId);
|
| 141 |
|
145 |
|
| 142 |
if (categoryId == Utils.MOBILE_PHONES_CATEGORY || categoryId == Utils.MOBILE_ACCESSORIES_CATEGORY || categoryId == Utils.TABLETS_CATEGORY ){
|
146 |
if (categoryId == Utils.MOBILE_PHONES_CATEGORY || categoryId == Utils.MOBILE_ACCESSORIES_CATEGORY || categoryId == Utils.TABLETS_CATEGORY ){
|
| 143 |
this.categoryTitle = categoryName + " Price List India" + " | " + this.categoryName;
|
147 |
this.categoryTitle = categoryName + " Price List India" + " | " + this.categoryName;
|
| 144 |
}
|
148 |
}
|