Subversion Repositories SmartDukaan

Rev

Rev 832 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 832 Rev 1032
Line 32... Line 32...
32
 
32
 
33
		
33
		
34
	private static Logger log = Logger.getLogger(Class.class);
34
	private static Logger log = Logger.getLogger(Class.class);
35
	
35
	
36
	private String htmlSnippet = "";
36
	private String htmlSnippet = "";
37
    	
37
    
38
	//Handle /myresearch/{id}
38
	//Handle /myresearch/{id}
39
	public String create() throws WidgetException, TException, IOException {
39
	public String create() throws WidgetException, TException, IOException {
40
		log.info("list of item ids is " + this.request.getParameter("productid"));
40
		log.info("list of item ids is " + this.request.getParameter("productid"));
41
		String itemIds = this.request.getParameter("productid");
41
		String itemIds = this.request.getParameter("productid");
42
		if(userinfo.isLoggedIn()){
42
		if(userinfo.isLoggedIn()){
Line 82... Line 82...
82
			e.printStackTrace();
82
			e.printStackTrace();
83
		}
83
		}
84
		
84
		
85
	}
85
	}
86
	public String getHtmlSnippet(){
86
	public String getHtmlSnippet(){
87
		if(htmlSnippet == null){
87
		if(htmlSnippet == "")	{
88
			htmlSnippet = "1";
88
			htmlSnippet = "1";
89
		}
89
		}
90
		return htmlSnippet;
90
		return htmlSnippet;
91
	}
91
	}	
92
	
-
 
93
}
92
}
94
93