private void initialise() { DailyPatternShortConfigVo configShortVo = new DailyPatternShortConfigVo(); configShortVo.setDailyPatternType(DailyPatternType.FLUIDBALANCE); form.getGlobalContext().Core.setCurrentDailyPatternConfigVo(domain.getFluidBalanceDailyPatternConfig(configShortVo)); form.dteDateTo().setValue(new Date()); form.dteDateFrom().setValue(new Date().addDay(-7)); }