[symfony-users] Re: sfGuardAuth i18n

2010-11-26 Thread Veríssimo
After a centos reboot problem solved. Thanks. On 25 Nov, 14:21, Veríssimo jveriss...@gmail.com wrote: I have clear symfony cache, restart httpd service(to destroy session), and open a new firefox window: Now i get this in the debug toolbar: User Toggle details options:   auto_shutdown

[symfony-users] sfGuardAuth i18n

2010-11-25 Thread Veríssimo
Im using firefox, just with pt language my settings.yml is like this: all: .settings: # Form security secret (CSRF protection) csrf_secret:UniqueSecret i18n: on default_culture: pt culture: pt # Output escaping settings escaping_strategy: true

[symfony-users] Re: sfGuardAuth i18n

2010-11-25 Thread Veríssimo
to destroy your session and clear cache in project ? You should apply both to consider a test correct. 2010/11/25 Veríssimo jveriss...@gmail.com Im using firefox, just with pt language my settings.yml is like this: all:  .settings:    # Form security secret (CSRF protection

[symfony-users] Re: Invoice Model

2010-04-07 Thread Veríssimo
Massimiliano On 30 Mar, 19:56, Veríssimo jveriss...@gmail.com wrote: The echo was just a debug line, but I should only use the embed form only if the $this-getObject() != null. Because when it is null the embed form(Invoiceline) is saved with the variable invoiceid = null. thank you. On Mar

[symfony-users] Re: sfWidgetFormInputHidden

2010-03-30 Thread Veríssimo
You are correct, that code from the base class was automatic generated by symphony. I haven't added any code yet to the extended class. Perhaps i must overload the base class with other Widgets and Validators. I have been reading the Widgets and Validators API, but there isn't must information

[symfony-users] Re: Invoice Model

2010-03-30 Thread Veríssimo
need to check. The getObject() method returns null if no object associated, and this is fine with form instance. Just avoid to echo object's id in the form's configure why are you doing this??? cheers Massimiliano On 30 Mar, 01:07, Veríssimo jveriss...@gmail.com wrote: I have

[symfony-users] Re: sfWidgetFormInputHidden

2010-03-29 Thread Veríssimo
I have created a route like this: linharecibo_new: url: /linharecibo/new/ class: sfDoctrineRoute options: { model: Recibo, type: object } param: { module: linharecibo, action: new } requirements: sf_method: [get] And i have changed de executeNew action. public function

[symfony-users] Re: Invoice Model

2010-03-29 Thread Veríssimo
I will read that. Thank you Massimiliano. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.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] Re: Invoice Model

2010-03-29 Thread Veríssimo
I have implemented this, but i only have the Object after a previous have saved it. Do i have to do something like check ($this-getObject()) as a object? public function configure() { $subForm = new sfForm(); for ($i = 0; $i 2; $i++) { $linharecibo = new Linharecibo();

[symfony-users] Invoice Model

2010-03-28 Thread Veríssimo
Dear all. I'm new to symphony and i have been reading the Joobet tutorial to make my first symphony application. i have the following schema related with the invoice model, with these classes; Client, invoice, invoice lines. Invoiceline: connection: doctrine tableName: invoiceline

[symfony-users] sfWidgetFormInputHidden

2010-03-28 Thread Veríssimo
Hello all. I'm trying to fill a hidden field but when i summit the form a get the following error msg invalid for that field. I what the fill hidden field. Is this possible? # $form['idrecibo'] (sfWidgetFormInputHidden) Invalid. thank you. -- If you want to report a vulnerability issue on