public function executeList()
 {
     //$todo = $this->getRequest()->getParameterHolder()->getAll();
     //print_r($todo);
     $this->processSort();
     $this->processFilters();
     $this->filters = $this->getUser()->getAttributeHolder()->getAll('sf/tarea/filters');
     $this->pager = new sfPropelPager('Tarea', sfConfig::get('app_listas_tareas'));
     $c = $this->getCriterio();
     $this->addFiltersCriteria($c);
     $this->addSortCriteria($c);
     $this->pager->setCriteria($c);
     //$this->pager->setPeerMethod('doSelectJoinAll');
     $this->pager->setPage($this->getRequestParameter('page', $this->getUser()->getAttribute('page', 1, 'sf_admin/tareas')));
     $this->pager->init();
     // save page
     if ($this->getRequestParameter('page')) {
         $this->getUser()->setAttribute('page', $this->getRequestParameter('page'), 'sf_admin/tareas');
     }
     /*Ana: Código para que se vea el calendario*/
     $cal = TareaPeer::createCalendario(0);
     /*Ana: 30-03-09 Anges GetThreeMonthView*/
     if ($this->getRequestParameter("mes")) {
         $this->calendarMes = $cal->getThreeMonthView($this->getRequestParameter("mes"), $this->getRequestParameter("year"));
         $this->mes = $this->getRequestParameter('mes');
     } else {
         $this->calendarMes = $cal->getThreeMonthView(date('m'), date('Y'));
     }
     /* Fin Ana.*/
     $this->labels = $this->getLabels();
 }