Subversion Repositories SmartDukaan

Rev

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

Rev 1720 Rev 1726
Line 50... Line 50...
50
		snippets = new HashMap<String, String>();
50
		snippets = new HashMap<String, String>();
51
	}
51
	}
52
	
52
	
53
	// GET /Show Form
53
	// GET /Show Form
54
	public String index() {
54
	public String index() {
-
 
55
		return "index";
55
		
56
	}
-
 
57
	
-
 
58
	public String create()	{
56
		if(this.request.getParameter("q") != null && ! this.request.getParameter("q").trim().isEmpty())	{
59
		if(this.request.getParameter("q") != null && ! this.request.getParameter("q").trim().isEmpty())	{
57
			String query = this.request.getParameter("q");	//"F_50010:Mobile+Phones"
60
			String query = this.request.getParameter("q");	//"F_50010:Mobile+Phones"
58
			String[] fqrys = new String[]	{"F_50010:Mobile Phones"};
61
			String[] fqrys = new String[]	{"F_50010:Mobile Phones"};
59
	    	String[] facetDefIDs = new String[]{}; //new String[] {"F_50010"};
62
	    	String[] facetDefIDs = new String[]{}; //new String[] {"F_50010"};
60
			
63