public String goBack() { JsfUtils.removeFromPageFlow("profilePerson"); JsfUtils.removeFromSession("profilePerson"); // JsfUtils.deleteGridDataFromPageFlow(); RequestContext.getCurrentInstance().returnFromDialog(null, null); return UserFavoritesWebUtils.getInstance().getOriginPageToInterests(); }
public String goToAddSubject() { UserFavoritesWebUtils.getInstance().setOriginPage(Constants.MEMBERSHIP_INTERESTS); UserFavoritesWebUtils.getInstance().clearSession(); return Constants.ADD_FAVORITE_SUBJECT; }