Subversion Repositories SmartDukaan

Rev

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

Rev 6942 Rev 6975
Line 18... Line 18...
18
import java.util.List;
18
import java.util.List;
19
import java.util.Map;
19
import java.util.Map;
20
import java.util.Map.Entry;
20
import java.util.Map.Entry;
21
import java.util.StringTokenizer;
21
import java.util.StringTokenizer;
22
 
22
 
-
 
23
import org.apache.commons.lang.ArrayUtils;
23
import org.apache.commons.lang.StringUtils;
24
import org.apache.commons.lang.StringUtils;
24
import org.apache.log4j.Logger;
25
import org.apache.log4j.Logger;
25
import org.apache.struts2.convention.annotation.Action;
26
import org.apache.struts2.convention.annotation.Action;
26
import org.apache.struts2.convention.annotation.Actions;
27
import org.apache.struts2.convention.annotation.Actions;
27
import org.apache.struts2.convention.annotation.Result;
28
import org.apache.struts2.convention.annotation.Result;
Line 136... Line 137...
136
    		this.categoryTitle = categoryName + " Price List India" + " | " + this.categoryName;
137
    		this.categoryTitle = categoryName + " Price List India" + " | " + this.categoryName;
137
    	}
138
    	}
138
    	else {
139
    	else {
139
    		this.categoryTitle = this.categoryName.replace("Phones", "Mobile Phones");
140
    		this.categoryTitle = this.categoryName.replace("Phones", "Mobile Phones");
140
    	}
141
    	}
141
 
-
 
142
		String[] facetDefIDs = Utils.facetDefIDs;
-
 
143
    	String[] facetLabels = Utils.facetLabels;
-
 
144
 
-
 
145
    	String[] fqrys = this.request.getParameterValues("fq");
142
    	String[] fqrys = this.request.getParameterValues("fq");
-
 
143
    	
-
 
144
    	String[] facetDefIDs = Utils.rootfacetDefIDs;
-
 
145
    	String[] facetLabels = Utils.rootfacetLabels;
-
 
146
    	if((getChildren(this.categoryName) == null || getChildren(this.categoryName).size() == 1) || (this.request.getQueryString() != null && this.request.getQueryString().contains("F_50011"))) {
-
 
147
    		facetDefIDs = Utils.facetDefIDs;
-
 
148
    		facetLabels = Utils.facetLabels;
-
 
149
    	}
-
 
150
 
146
 
151
 
147
    	url = "?";
152
    	url = "?";
148
    	    	
153
    	    	
149
    	query = "*";
154
    	query = "*";
150
    	
155