Re: [symfony-users] showsuccess relation

2010-01-12 Thread Gabo
Thanks Gabor!! 2010/1/12 Gábor Fási maerl...@gmail.com 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 gabopo...@gmail.com wrote: Method: $document-getCompanyId() -- You received this message because you

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 gabopo...@gmail.com wrote: Method: $document-getCompanyId() -- You received this message because you are subscribed to the Google Groups symfony users group. To

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 email

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 afla...@gmail.com This can be your main template. Check it in apps/env/templates. bye Augusto Morais

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 gabopo...@gmail.com

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 maerl...@gmail.com 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

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 gabopo...@gmail.com wrote: