Subversion Repositories SmartDukaan

Rev

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

Rev 5615 Rev 5623
Line 45... Line 45...
45
			addActionError("URL or Text field cannot be left blank");
45
			addActionError("URL or Text field cannot be left blank");
46
			return "index";
46
			return "index";
47
		}
47
		}
48
		logger.info("Form Type: " + formtype);
48
		logger.info("Form Type: " + formtype);
49
		try	{
49
		try	{
50
			HelperClient helperClient = new HelperClient("helper_service_server_host_prod", "helper_service_server_port");
50
			HelperClient helperClient = new HelperClient("helper_service_server_host_prod", "helper_service_server_port_prod");
51
			Client hsc = helperClient.getClient();
51
			Client hsc = helperClient.getClient();
52
			
52
			
53
			if (id == null)	{
53
			if (id == null)	{
54
				hsc.saveQuickLink(url, text);
54
				hsc.saveQuickLink(url, text);
55
				addActionMessage("URL ( " + url + ") is added.");
55
				addActionMessage("URL ( " + url + ") is added.");