use of org.olat.course.statistic.DateChooserForm in project OpenOLAT by OpenOLAT.
the class WeeklyStatisticDisplayController method createInitialComponent.
@Override
protected Component createInitialComponent(UserRequest ureq) {
setVelocityRoot(Util.getPackageVelocityRoot(getClass()));
weeklyStatisticVc_ = createVelocityContainer("weeklystatisticparent");
weeklyStatisticFormVc_ = createVelocityContainer("weeklystatisticform");
form_ = new DateChooserForm(ureq, getWindowControl(), 8 * 7);
listenTo(form_);
weeklyStatisticFormVc_.put("statisticForm", form_.getInitialComponent());
weeklyStatisticFormVc_.contextPut("statsSince", getStatsSinceStr());
weeklyStatisticVc_.put("weeklystatisticform", weeklyStatisticFormVc_);
Component parentInitialComponent = super.createInitialComponent(ureq);
weeklyStatisticVc_.put("statistic", parentInitialComponent);
return weeklyStatisticVc_;
}
use of org.olat.course.statistic.DateChooserForm in project OpenOLAT by OpenOLAT.
the class DailyStatisticDisplayController method createInitialComponent.
@Override
protected Component createInitialComponent(UserRequest ureq) {
setVelocityRoot(Util.getPackageVelocityRoot(getClass()));
dailyStatisticVc_ = this.createVelocityContainer("dailystatisticparent");
dailyStatisticFormVc_ = this.createVelocityContainer("dailystatisticform");
form_ = new DateChooserForm(ureq, getWindowControl(), 7);
listenTo(form_);
dailyStatisticFormVc_.put("statisticForm", form_.getInitialComponent());
dailyStatisticFormVc_.contextPut("statsSince", getStatsSinceStr());
dailyStatisticVc_.put("dailystatisticform", dailyStatisticFormVc_);
Component parentInitialComponent = super.createInitialComponent(ureq);
dailyStatisticVc_.put("statistic", parentInitialComponent);
return dailyStatisticVc_;
}
use of org.olat.course.statistic.DateChooserForm in project openolat by klemens.
the class DailyStatisticDisplayController method createInitialComponent.
@Override
protected Component createInitialComponent(UserRequest ureq) {
setVelocityRoot(Util.getPackageVelocityRoot(getClass()));
dailyStatisticVc_ = this.createVelocityContainer("dailystatisticparent");
dailyStatisticFormVc_ = this.createVelocityContainer("dailystatisticform");
form_ = new DateChooserForm(ureq, getWindowControl(), 7);
listenTo(form_);
dailyStatisticFormVc_.put("statisticForm", form_.getInitialComponent());
dailyStatisticFormVc_.contextPut("statsSince", getStatsSinceStr());
dailyStatisticVc_.put("dailystatisticform", dailyStatisticFormVc_);
Component parentInitialComponent = super.createInitialComponent(ureq);
dailyStatisticVc_.put("statistic", parentInitialComponent);
return dailyStatisticVc_;
}
use of org.olat.course.statistic.DateChooserForm in project openolat by klemens.
the class WeeklyStatisticDisplayController method createInitialComponent.
@Override
protected Component createInitialComponent(UserRequest ureq) {
setVelocityRoot(Util.getPackageVelocityRoot(getClass()));
weeklyStatisticVc_ = createVelocityContainer("weeklystatisticparent");
weeklyStatisticFormVc_ = createVelocityContainer("weeklystatisticform");
form_ = new DateChooserForm(ureq, getWindowControl(), 8 * 7);
listenTo(form_);
weeklyStatisticFormVc_.put("statisticForm", form_.getInitialComponent());
weeklyStatisticFormVc_.contextPut("statsSince", getStatsSinceStr());
weeklyStatisticVc_.put("weeklystatisticform", weeklyStatisticFormVc_);
Component parentInitialComponent = super.createInitialComponent(ureq);
weeklyStatisticVc_.put("statistic", parentInitialComponent);
return weeklyStatisticVc_;
}
Aggregations