protected function actionNew()
{
# Building floating model object
$this->oModel = new \Baikal\Model\Calendar();
$this->oModel->set("principaluri", $this->oUser->get("uri"));
$this->oModel->set("components", "VEVENT");
# Initialize corresponding form
$this->initForm();
# Process form
if ($this->oForm->submitted()) {
$this->oForm->execute();
if ($this->oForm->persisted()) {
$this->oForm->setOption("action", $this->linkEdit($this->oForm->modelInstance()));
}
}
}