Subversion Repositories SmartDukaan

Rev

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

Rev 1614 Rev 1623
Line 483... Line 483...
483
		in.shop2020.model.v1.user.UserContextService.Client client = null;
483
		in.shop2020.model.v1.user.UserContextService.Client client = null;
484
		Widget widget = null;
484
		Widget widget = null;
485
		try {
485
		try {
486
			userServiceClient = new UserContextServiceClient();
486
			userServiceClient = new UserContextServiceClient();
487
			client = userServiceClient.getClient();
487
			client = userServiceClient.getClient();
488
			if(widgetType == WidgetType.MY_RESEARCH && userId != 0){
488
			if(widgetType == WidgetType.MY_RESEARCH && userId != -1){
489
				widget = client.getMyResearch(userId);
489
				widget = client.getMyResearch(userId);
490
			}
490
			}
491
			if(widgetType == WidgetType.BROWSE_HISTORY){
491
			if(widgetType == WidgetType.BROWSE_HISTORY){
492
				widget = client.getBrowseHistory(userId);
492
				widget = client.getBrowseHistory(userId);
493
			}
493
			}