[symfony-users] Why doesn't sfOutputEscaperArrayDecorator escape keys?

2011-02-15 Thread Basil Hussain
I was checking the validity of my project's HTML and noticed that some things weren't being escaped properly. After investigating, I discovered the problems were in certain places where I am outputting an array with string keys. Basically, in my code I am doing this: // Action $this->foo = array(

[symfony-users] Re: Problem with tasks, context and session storage

2011-02-14 Thread Basil Hussain
Yes, this solved my problem - thanks! Not sure why this solution didn't occur to me, even though I read the factories config reference talking about the sfNoStorage class. :) I created a separate 'tasks' environment with sfNoStorage specified as the session storage option, and all the warnings are

[symfony-users] Problem with tasks, context and session storage

2011-02-09 Thread Basil Hussain
I am writing a custom task for my Symfony project. In it I am sending a bunch of e-mails generated using content from the database. To compose the e-mail message, I am using an instance of sfPartialView so that I can use the same partial template for each message and substitute in the data. The sf

[symfony-users] How to change default sfValidatorString max length message?

2011-01-19 Thread Basil Hussain
I have a couple of forms with many sfValidatorString validators on them. The default 'max_length' error message ('"%value%" is too long (%max_length% characters max).') is really not suitable to the way my forms are laid out in the HTML, because repeating the too-long value within the message throw