Try to execute "symfony cc"

On Thu, Sep 25, 2008 at 1:57 PM, Reynier Perez Mira <[EMAIL PROTECTED]> wrote:
>
> Hi:
> I'm developing a new Project with Symfony 1.1.x and I want to use the new 
> Form Framework. When I build the project I generated also the model using 
> propel:build-model and then the respective forms using propel:build-forms. 
> Then I have this method:
>
> public function executeAdicionarAutor($request) {
>        if (sfRequest::POST == $this->getRequest()->getMethod()) {
>                $autor = new Autores();
>                $autor->setNombreAutor($request->getParameter('nombre'));
>                $autor->save();
>                $this->redirect('@listar_autores');
>        } else {
>                $this->formulario_autores = new AutoresForm();
>                return sfView::SUCCESS;
>        }
> }
>
> When I try to access to 
> http://gestion.local/backend_dev.php/geslicsoft/AdicionarAutor Symfony show 
> me this error:
>
> Fatal error: Class 'AutoresForm' not found in 
> D:\Development\WWW\gestion.local\apps\backend\modules\geslicsoft\actions\actions.class.php
>  on line 61
>
> I check that this class exists and it exists in /lib/form directory.¿What's 
> wrong here? ¿I miss something? ¿Can any send me a functional sample to see 
> how it Works and also understand how the new form Framework work?
>
> Cheers and thanks in advance
> Ing. Reynier Pérez Mira
> Grupo de Soporte al Desarrollo - Dirección Técnica IP
>
>
> >
>



-- 
Visit my website: http://onlinesid.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to