@Override protected void fillModel( final HttpServletRequest request, final Model model, final AccountSummaryUnitTreeComponentModel component) { final B2BUnitNodeData rootNode = b2bCommerceUnitFacade.getParentUnitNode(); model.addAttribute("rootNode", rootNode); model.addAttribute("metaRobots", "no-index,no-follow"); }
@ModelAttribute("b2bUnits") public List<SelectOption> getB2BUnits() { return populateSelectBoxForString(b2bCommerceUnitFacade.getAllActiveUnitsOfOrganization()); }