Re: [symfony-users] showsuccess relation

2010-01-12 Thread Gabo
Thanks Gabor!! 2010/1/12 Gábor Fási > Try $document->getCompany() and create a __toString() in the Company > model to return it's name. > > On Tue, Jan 12, 2010 at 04:24, Gabo wrote: > > Method: $document->getCompanyId() > > -- > You received this message because you are subscribed to the Googl

Re: [symfony-users] showsuccess relation

2010-01-11 Thread Gábor Fási
Try $document->getCompany() and create a __toString() in the Company model to return it's name. On Tue, Jan 12, 2010 at 04:24, Gabo wrote: > Method: $document->getCompanyId() -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this grou

[symfony-users] showsuccess relation

2010-01-11 Thread Gabo
Help!! In the ShowSuccess of id (table "document") print "2" instead "Coca Cola" ??? but in the editSuccess and newSuccess print good Method: $document->getCompanyId() i net to create a method in document.class.php??? -- You received this message because you are subscribed to the Google Groups

Re: [symfony-users] showsuccess

2010-01-06 Thread Gábor Fási
On the long term I'd advise against disabling it globally, and getting the raw data only in special cases when that's what you need - the output escaping can save you from a lot of trouble by preventing attacks like html injection. On Wed, Jan 6, 2010 at 21:43, Gabo wrote: > Thanks!! > PS: > EDIT

Re: [symfony-users] showsuccess

2010-01-06 Thread Gabo
Thanks!! PS: EDIT : app/config/settings.yml # Output escaping settings escaping_strategy: false 2010/1/6 Gábor Fási > Values you pass to the view get escaped, if you enabled it at project > generation (1.2) / by default (1.{3,4}), which is a Good Thing™. > If you need to acces

Re: [symfony-users] showsuccess

2010-01-06 Thread Gábor Fási
Values you pass to the view get escaped, if you enabled it at project generation (1.2) / by default (1.{3,4}), which is a Good Thing™. If you need to access the raw value and output the html as it is, try `$section->getSectionField(ESC_RAW)` On Wed, Jan 6, 2010 at 16:56, Gabo wrote: > the staff i

Re: [symfony-users] showsuccess

2010-01-06 Thread Gabo
the staff includes $ section-> getSectionField (), is sectionfield clob field with html, but symfony printed as text... converts html to text in showsuccess.php?? 2010/1/6 Augusto Flavio > This can be your main template. Check it in apps/env/templates. > > > bye > > > Augusto Morais > > -- > Yo

Re: [symfony-users] showsuccess

2010-01-06 Thread Augusto Flavio
This can be your main template. Check it in apps/env/templates. bye Augusto Morais -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send emai

[symfony-users] showsuccess

2010-01-05 Thread Gabo
HELP!! Symfony print in the showSuccess text change html tags Encabezado             Gabo -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe f