I'm tring to customize error rendering in my form according to this
example:
http://www.symfony-project.org/forms/1_4/en/03-Forms-for-web-Designers#chapter_03_sub_fine_grained_customization_of_error_messages
Here is my code:
if ($this['message']-hasError()) {
$error_msg = 'ul';
I used html markup in form field's labels for some reasons, but after
upgrading from sf1.2 to 1.4 it gets escaped during rendering.
How to abolish output escaping for form field's labels in sf1.4 ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at
How to set custom error message for sfValidatorPropelUnique?
I have tried:
new sfValidatorPropelUnique(
array('model' = 'User', 'column' = array('email')),
array('invalid' = 'My custom error message')
)
but I still get 'An object with the same email already exist.' error
message...
--
You
Sorry, it's my mistake (
--
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 to
symfony-users+unsubscr...@googlegroups.com.
For more
I face with such a problem - sfValidatorAnd completely ignores
'required' settings of its components.
As an examle, for such a field:
'title' = new sfWidgetFormInput()
...
'title' = new sfValidatorAnd(
array(
new sfValidatorCallback(array('required' = false, 'callback' =
array($this,
sf 1.2.8
--
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 to
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this
I've fallen into a strange trap - my form doesn't pass validation but
neither form's fields nor calling $form-hasGlobalErrors() reports
errors...
How to find out what cause form validation to fail ?
--
You received this message because you are subscribed to the Google Groups
symfony users
if that validatoion is nothing. Just check that you
have a validator applied to each form widget.
On Tue, Dec 1, 2009 at 1:56 PM, Hong Kil Dong fetfru...@gmail.com wrote:
I've fallen into a strange trap - my form doesn't pass validation but
neither form's fields nor calling $form
if that validatoion is nothing. Just check that you
have a validator applied to each form widget.
On Tue, Dec 1, 2009 at 1:56 PM, Hong Kil Dong fetfru...@gmail.com wrote:
I've fallen into a strange trap - my form doesn't pass validation but
neither form's fields nor calling $form
http://www.symfony-project.org/plugins/nahoWikiPlugin
--~--~-~--~~~---~--~~
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
http://snippets.symfony-project.org/snippet/177
On Nov 9, 8:33 am, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is it possible to make a pager that doesn't use the database?
In that case I make an array of objects myself and pass it on to the
pager.
It looks exactly like SSI. Maybe it will be your more standard way if
you manage to implement SSI on dynamic page ;)
On Oct 19, 11:46 am, SA sarunas.atkociu...@gmail.com wrote:
Hello,
we are developing a news website which mostly consists of constantly
changing, but fully cacheable content,
I wish ot use ENUM type in my Doctrine model, and according to
doctrine manual I have to set attribute
Doctrine::ATTR_USE_NATIVE_ENUM to TRUE (
http://www.doctrine-project.org/documentation/manual/1_1/en/defining-models#columns:data-types:enum
)
Where can I do it in symfony ?
The problem might be in autogenerated id field on Category - if
Doctrine generates its type different from idCategory field that
you've set explicitly. (integer might be mapped to TINYINT, SMALLINT,
MEDIUMINT, ... )
Try to set both explicitly the same type ( for instance integer(4) )
On Oct 17,
When I analyzed CRUD-generated actions I faced undocumented method
processForm() - what does it do? Why it isn't documented?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group,
On 23 сен, 13:52, Hong Kil Dong fetfru...@gmail.com wrote:
When I analyzed CRUD-generated actions I faced undocumented method
processForm() - what does it do? Why it isn't documented?
Oops!
I found it's declaration at the end of file
I need to rewrite standard validator messages, such as Required.
etc.
How can I do it without modifing validator files sources?
PS Using sf1.2 and it's form framework
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
17 matches
Mail list logo