@Override protected Component createInitialComponent(final UserRequest ureq) { setVelocityRoot(Util.getPackageVelocityRoot(getClass())); weeklyStatisticVc_ = this.createVelocityContainer("weeklystatisticparent"); weeklyStatisticFormVc_ = this.createVelocityContainer("weeklystatisticform"); form_ = new DateChooserForm(ureq, getWindowControl(), 8 * 7); listenTo(form_); weeklyStatisticFormVc_.put("statisticForm", form_.getInitialComponent()); weeklyStatisticFormVc_.contextPut("statsSince", getStatsSinceStr(ureq)); weeklyStatisticVc_.put("weeklystatisticform", weeklyStatisticFormVc_); final Component parentInitialComponent = super.createInitialComponent(ureq); weeklyStatisticVc_.put("statistic", parentInitialComponent); return weeklyStatisticVc_; }