Bernhard Schussek
eba7dfeb8a
Revert "[Form] added a circular reference safeguard for form type"
...
This reverts commit ea93e4cafa
.
Conflicts:
src/Symfony/Component/Form/FormBuilder.php
src/Symfony/Component/Form/FormFactory.php
2012-07-09 18:42:18 +02:00
Bernhard Schussek
90516223ab
Fixing email
2012-05-26 09:48:33 +02:00
Bernhard Schussek
306324ea0a
[Form] Greatly improved the error mapping done in DelegatingValidationListener
2012-05-22 09:29:53 +02:00
Bernhard Schussek
b9d053edb2
[Form] Moved Options classes to new OptionsParser component
2012-05-14 19:35:07 +02:00
Bernhard Schussek
bfa7ef2d9b
[Form] Removed obsolete exceptions
2012-04-17 16:44:38 +02:00
Bernhard Schussek
b7330456b6
[Form] Fixed option support in Form component
2012-04-11 16:37:42 +02:00
Bernhard Schussek
87b16e7015
[Form] Greatly improved ChoiceListInterface and all of its implementations
...
Fixes #2869 , fixes #3021 , fixes #1919 , fixes #3153 .
2012-01-23 18:28:25 +01:00
Fabien Potencier
beecac3adb
[Form] simplified previous merge and fixed unit test
2011-07-04 12:13:46 +02:00
Jay Severson
49af102c32
Throwing FormNotBoundException when calling form isValid
2011-06-28 12:18:02 -07:00
Joseph Bielawski
af67de43a2
Added missing quote for UnexpectedTypeException
2011-06-16 08:56:29 -07:00
Fabien Potencier
ea93e4cafa
[Form] added a circular reference safeguard for form type
2011-06-09 17:58:22 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Bernhard Schussek
21013b930c
[Form] Improved test coverage of FormFactory and improved error handling
2011-05-13 18:29:18 +02:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Bernhard Schussek
270a98e413
[Form] Added support for types that are not registered in the DIC. These are identified by their FQ class name.
2011-03-22 12:33:15 +01:00
Bernhard Schussek
7a63b840f3
[Form] Renamed submit() to bind()
2011-03-17 14:55:26 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Bernhard Schussek
4f0283a508
[Form] Removed Form::isBound(). Form::bind() is only a shortcut method now, use Form::isSubmitted() if you want to find out whether a form was submitted.
2011-02-02 14:46:33 +01:00
Bernhard Schussek
57cbd57265
[Form] Fields may now be anonymous, but anonymous fields must not be added to groups. They can only be used as prototypes
2011-02-01 15:27:12 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Bernhard Schussek
4b78c4376f
[Form] Added FieldFactory mechanism to automatically create fields by introspecting metadata of a class
2011-01-05 15:02:56 +01:00
Bernhard Schussek
acdd5c06de
[Form] Changed value transformers to throw UnexpectedTypeException instances
2011-01-03 22:07:08 +01:00
Fabien Potencier
4deb82f842
[Form] fixed license and phpdoc
2010-10-02 12:38:14 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00