*/
@RequestMapping(method = RequestMethod.GET, value = "search")
public String viewSearchResult(Model model, @RequestParam String referringPageId, @RequestParam String searchTerm,
@RequestParam(required = false, defaultValue = "0") int offset) {
final String view = ViewNames.STORE;
User user = userService.getAuthenticatedUser();
widgetStoreModelHelper(model, referringPageId, user, view);
model.addAttribute(ModelKeys.WIDGETS,
widgetService.getPublishedWidgetsByFreeTextSearch(searchTerm, offset, getPageSize()));
model.addAttribute(ModelKeys.SEARCH_TERM, searchTerm);
model.addAttribute(ModelKeys.OFFSET, offset);