stloyd
7bc19f9675
Added to DateTimeType
extension possibility to render form as single_text
(similar to DateType
option) (issue #1323 it requires fix for #1205 )
2011-06-23 17:02:55 +02:00
Fabien Potencier
bc2f9479e3
merged branch vicb/form/php-choices (PR #1415 )
...
Commits
-------
2cf7136
[FrameworkBundle][Form] tweak the choice widget PHP template
Discussion
----------
[FrameworkBundle][Form] tweak the choice widget PHP template
* make theming easier,
* factorize code,
* make PHP similar to Twig (easier to maintain)
2011-06-23 15:17:18 +02:00
Victor Berchet
2cf7136e53
[FrameworkBundle][Form] tweak the choice widget PHP template
2011-06-23 15:07:20 +02:00
Fabien Potencier
59f85b4a6e
merged branch stloyd/timetype (PR #1354 )
...
Commits
-------
4e3406d
Sync with master and clean up
ad5d2c1
Added to `TimeType` extension possibility to render form as `single_text` (similar to DateType option) (issue #1205 ) Adjusted `DateTimeType` to allow usage of this new feature
Discussion
----------
[Form][TimeType] Added possibility to render form as "single_text"
Added to `TimeType` extension possibility to render form as `single_text` (similar to `DateType` option) (issue #1205 )
Adjusted `DateTimeType` to allow usage of this new feature
---------------------------------------------------------------------------
by ouardisoft at 2011/06/17 03:41:18 -0700
+1
---------------------------------------------------------------------------
by stloyd at 2011/06/21 01:05:51 -0700
@fabpot Any decision about this one ? I'm asking because I also have similar fix for #1323 but it requires this one ;-)
---------------------------------------------------------------------------
by fabpot at 2011/06/22 23:32:08 -0700
@stloyd: Can you rebase to master?
---------------------------------------------------------------------------
by stloyd at 2011/06/23 05:03:44 -0700
@fabpot Done.
2011-06-23 14:19:20 +02:00
Fabien Potencier
f57e1d3e10
fixed CS
2011-06-23 14:07:53 +02:00
stloyd
4e3406d633
Sync with master and clean up
2011-06-23 14:01:11 +02:00
Fabien Potencier
f322a4a99d
fixed CS
2011-06-23 13:39:36 +02:00
stloyd
ad5d2c13e1
Added to TimeType
extension possibility to render form as single_text
(similar to DateType option) (issue #1205 )
...
Adjusted `DateTimeType` to allow usage of this new feature
2011-06-23 11:40:24 +02:00
Victor Berchet
f39ce6709d
[Form][FrameworkBundle] PHP theming
2011-06-22 09:23:22 +02:00
Victor Berchet
2c1108ce6b
[Form] Revert the ability to override anything else than the text of the label while rendering a row
2011-06-22 08:36:45 +02:00
Victor Berchet
8670995574
[Form] Optimize rendering when the block to render is known
2011-06-20 12:29:05 +02:00
Victor Berchet
f729c6ba93
[Form] Add the ability to override label & widget options when rendering a row
2011-06-20 12:29:04 +02:00
Victor Berchet
e09ae3f6a2
[Form][FrameworkBundle] Make FormHelper::renderSection() recursively callable, introduce FormHelper::renderBlock()
2011-06-20 12:29:04 +02:00
Fabien Potencier
02f28b6e5e
simplified Form templates as the safeguard is already set in the Form Type
2011-06-15 16:58:41 +02:00
Fabien Potencier
c7d5fd16e0
fixed CS
2011-06-15 13:46:46 +02:00
Victor Berchet
4e3e2768fb
[Form] Make the prototype view child of the collection view
2011-06-14 09:33:19 +02:00
Fabien Potencier
2ce3cfad18
[Form] made it possible to translate the empty value of Choice fields
2011-06-14 08:33:48 +02:00
Fabien Potencier
c364008a3b
[Form] allowed an empty value to be displayed for choices even when required is true
...
Rules are as follows:
* If multiple is true, then the empty_value is ignored
* If not, and if the field is not required, the empty_value is set to the empty string by default and displayed
* If the field is required, and if the user explicitely set the empty_value, then it is displayed
2011-06-14 08:27:19 +02:00
Fabien Potencier
d16a708cc8
[Form] simplified file type class
...
File uploads documentation is here:
https://github.com/symfony/symfony-docs/pull/400
2011-06-13 18:11:18 +02:00
Fabien Potencier
9c1f999e21
[FrameworkBundle] fixed typo
2011-06-13 11:58:58 +02:00
Fabien Potencier
0c29a25d89
Merge remote branch 'kriswallsmith/form/collection-proto'
...
* kriswallsmith/form/collection-proto:
added script[type="text/html"] collection prototype to form themes
[Form] removed collection prototype from form tree
2011-06-13 11:51:18 +02:00
Fabien Potencier
852a4c9c6a
[Form] removed the file upload temporary storage feature
...
The current implementation is not ready for inclusion in 2.0. It has several
known problems (security, not possible to disable it, not "cloud-compatible",
...) and it's not a must have feature anyway.
Some references:
* Security issue in FileType: https://github.com/symfony/symfony/issues/1001
* Validation fails on file, still stored in TemporaryStorage: https://github.com/symfony/symfony/issues/908
* Add a size argument & ability to configure TemporaryStorage: https://github.com/symfony/symfony/pull/748
This feature should be reworked and discussed for inclusion in 2.1.
2011-06-09 12:44:36 +02:00
Kris Wallsmith
0df338fdb1
added script[type="text/html"] collection prototype to form themes
2011-06-08 09:41:12 -04:00
Fabien Potencier
566511e9e7
moved some FormView methods to FormUtil where they really belongs
2011-06-08 14:07:04 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Victor Berchet
8d2974ce90
[Form] Fix accessibility for file inputs
2011-06-06 21:00:07 +02:00
Victor Berchet
5044a7b56d
[FrameworkBundle][Form] Fix label rendering
...
The label should not include the view 'id' attribute as it is used by the view widget.
2011-06-06 20:12:03 +02:00
Victor Berchet
61721e3fd4
[FrameworkBundle][Form] Fix rendering search inputs in PHP
2011-06-06 18:17:22 +02:00
Victor Berchet
60c463d184
[Form] FormType labels should never have a for attribute
2011-06-06 18:04:07 +02:00
Victor Berchet
bca17fe6a3
[Form] Fix collection rendering
2011-06-06 14:21:49 +02:00
stloyd
cb22ccc516
[Form] Added missing feature for adding attributes to an field label
2011-05-31 17:01:28 +02:00
Pascal Borreli
6b91af976d
[FrameworkBundle] Fixed css
2011-05-29 14:18:15 +00:00
Miha Vrhovnik
b8144c62ad
DateType single-text should be single_text
2011-05-27 16:23:59 +02:00
Fabien Potencier
923c234160
fixed form_rest() for embedded forms (refs #1051 , #1115 )
2011-05-27 08:12:39 +02:00
Bernhard Schussek
dcc61a9a98
Merge remote branch 'shieldo/search_field' into shieldo_merge
2011-05-19 01:41:59 +02:00
Bernhard Schussek
216d7e415d
Merge remote branch 'mweimerskirch/form_pattern_attribute' into mweimerskirch_merge
...
Conflicts:
src/Symfony/Bundle/TwigBundle/Resources/views/Form/div_layout.html.twig
src/Symfony/Component/Form/Extension/Core/Type/FieldType.php
src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php
2011-05-18 22:49:27 +02:00
Bernhard Schussek
f467317bab
[Form] Renamed view variable "name" to "full_name"
...
The variable "name" now contains the local, short name (equivalent to $form->getName()).
2011-05-18 22:16:16 +02:00
Douglas Greenshields
bf2f9d2a02
[Form] Added a search form field type
2011-05-15 18:31:36 +01:00
Bernhard Schussek
e0ff61949e
[Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text"
2011-05-13 19:17:28 +02:00
Fabien Potencier
62c0b10b88
[FrameworkBundle] prevented search engine indexing on exception pages
2011-05-06 12:33:37 +02:00
Michel Weimerskirch
476644a92c
[Form] Support for the HTML5 "pattern" attribute, see http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-pattern-attribute
...
If you use the MinLength validator with your entities, the ValidatorTypeGuesser gets the value, stored as "minlength". Then, the FormFactory generates a "pattern" attribute out of minlength and maxlength.
Modern browsers such as Chrome use this attribute to validate the form before submitting.
a "pattern" attribute is generated that validates the
2011-05-04 23:16:41 +02:00
Bernhard Schussek
74cca63938
[Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
2011-05-04 18:27:20 +02:00
Bernhard Schussek
bf1dfbbe99
[Form] Added test for last commit by kriswallsmith and improved dealing with original names
...
The form component should now guarantee to always pass an UploadedFile object to your model. There you can call getOriginalName() to retrieve the original name of the uploaded file. For security reasons, the real file name is a generated hash value.
2011-05-04 17:04:44 +02:00
Bernhard Schussek
eb50d766da
[Form] Fixed variable scope when entering nested form helpers
...
The consequence of this commit is that variables are accessible that have been passed to a surrounding form helper.
Example template:
{% block my_widget_label %}
<label>{{ label }}
{% endblock %}
{% block my_widget_row %}
{# It is not necessary to explicitely pass through the label variable #}
{{ form_label(form) }}
{{ form_widget(form) }}
{% endblock %}
Example usage:
{{ form_row(form.mywidget, { 'label': 'My Widget' }) }}
2011-05-04 15:40:15 +02:00
Jordi Boggiano
04f9b23b34
[FrameworkBundle] Adjust styling and display of logs
2011-05-03 14:44:27 +02:00
Fabien Potencier
3e514c6eb8
[FrameworkBundle] simplified code
2011-05-02 23:04:24 +02:00
Jordi Boggiano
25d7009c1c
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 18:31:51 +02:00
Fabien Potencier
28aa8e729a
[FrameworkBundle] fixed typo
2011-04-26 18:27:51 +02:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Bernhard Schussek
57722550de
[Form] Added test for 'email' type and fixed a few bugs
2011-04-18 13:04:18 +02:00
Miha Vrhovnik
50011fa344
Added html5 email input to the forms
2011-04-18 11:17:41 +02:00
Bernhard Schussek
a05575bba1
[Form] Removed obsolete code. Use the 'attr' var instead
2011-04-15 15:48:14 +02:00
Bernhard Schussek
d0c572716a
Merge remote branch 'henrikbjorn/form' into henrik_merge
2011-04-15 15:34:29 +02:00
Bernhard Schussek
bc0efff28d
[Form][FrameworkBundle] Fixed escaping of choice widgets
2011-04-15 15:27:15 +02:00
Henrik Bjørnskov
e687685f98
[Form] change FormView::setVar,getVar,getVars,hasVar to set,get,all,has
...
[Form] Fixed {get,set,has}Var references in templating php
[Form] Added getVars to FormView to ease usage in Twig. Also added some phpdoc and cleaned up the get method by adding a default value
[Form] Fix
[Form] Delete file generated by test
2011-04-15 15:25:37 +02:00
Bernhard Schussek
3d92549382
[FrameworkBundle] Fixed various escaping problems and added test cases for them
2011-04-15 14:38:46 +02:00
Bernhard Schussek
990bef8afb
[Form][FrameworkBundle][TwigBundle] Fixed: CSRF fields are not rendered for nested forms anymore
2011-04-15 14:05:33 +02:00
Bernhard Schussek
c6fe6a750d
[Form] Added functional test for the 'size' attribute in the select tags of a time field
2011-04-14 15:29:55 +02:00
Bernhard Schussek
72b17cd67c
[Form] Renamed TemplateContext to FormView
2011-04-14 15:02:51 +02:00
Bernhard Schussek
4907c7d81d
[Form] Added test coverage for expanded choice fields
2011-04-14 14:18:25 +02:00
Bernhard Schussek
c2dcebf6ea
[FrameworkBundle] Added test coverage for FormHelper and fixed various rendering bugs
2011-04-14 13:37:27 +02:00
Bernhard Schussek
8031ad77c8
Merge remote branch 'fabpot/form' into fabpot_merge
2011-04-13 15:58:15 +02:00
Bernhard Schussek
2a18be1c9f
Merge remote branch 'symfony/master' into experimental
2011-04-13 13:53:20 +02:00
Fabien Potencier
55a8f8d098
extracted common layout for internal/core pages
...
CSS styles should probably be renamed at some point.
2011-04-12 12:32:59 +02:00
Fabien Potencier
7f2294395c
[Form] reverted the templating part to be similar to what we have today
2011-04-11 16:42:51 +02:00
Bernhard Schussek
0cf8cc762a
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
2011-04-04 15:16:08 +02:00
Fabien Potencier
f232b3cdda
reverted Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
2011-04-04 11:10:56 +02:00
Bernhard Schussek
d3b7c4e8c1
[Form] Moved getLabel(), isChoiceSelected() and isChoiceGroup() from ChoiceListInterface to ThemeRenderer
2011-04-02 14:14:18 +02:00
Ryan Weaver
39f81753ce
[FrameworkBundle] When there are multiple nested exceptions, this hides the stacktrace from all exceptions by default
...
This addresses the potential issue where a user doesn't realize that there are multiple exception messages because the
full stack trace of the first exception is displayed (pushing the others far far down the page). This hides the stacktrace
of all exceptions (when there are more than one) by default, making each exception message easily viewable.
2011-04-02 06:25:34 -05:00
Ryan Weaver
a166b8de64
[FrameworkBundle] Fixing small bug on exception page where the +/- icons didn't toggle correctly
2011-04-02 06:24:00 -05:00
Bernhard Schussek
37e8e1270c
[Form][FrameworkBundle][TwigBundle] Renamed view variable 'disabled' to 'read_only' to match with the according FormInterface methods
2011-04-02 12:18:43 +02:00
Bernhard Schussek
53838abf3f
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-28 22:52:15 +02:00
Kris Wallsmith
ade83e2e80
updated codebase to use shorter bundle names
...
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"
Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"
Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"
Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07:00
Bernhard Schussek
b21929423e
[Form] Completely removed the fields variable in the renderer. The renderer itself supports ArrayAccess and Traversable
2011-03-27 13:48:36 +02:00
Bernhard Schussek
ed69d7fa35
[Form] Fixed rendering using the PHP Templating engine
2011-03-26 18:38:03 +01:00
Bernhard Schussek
a396f8fdc8
Merge remote branch 'symfony/master' into experimental
2011-03-26 16:03:21 +01:00
Ryan Weaver
1910e23df8
[FrameworkBundle] Adding a title tag to make the default error page just a little bit longer so that chrome displays it
...
The background is that Chrome only displays the content returned on an error page if payload is at least 512 bytes.
Prior to this change, the 404 page was just a few bytes short, resulting in the Chrome error message instead of the
real one returned by Symfony (confusing for the user).
2011-03-26 07:36:03 -05:00
Benjamin Eberlei
8d6dd2b9af
[Form] Add Arbitrary Attribute Support to Form Rendering.
2011-03-24 22:08:08 +01:00
Bernhard Schussek
5b41810b6d
Revert "[Form] Changed naming of Themes to ThemeEngines. Theme templates are now 'themes'"
...
This reverts commit 1efd680b68
.
2011-03-24 10:55:12 +01:00
Bernhard Schussek
1efd680b68
[Form] Changed naming of Themes to ThemeEngines. Theme templates are now 'themes'
2011-03-23 22:34:58 +01:00
Benjamin Eberlei
39c2d3f166
[Form] Add PhpTheme that relies on no Template Engine, generalize tests to use for PhpTheme and PhpEngineTheme. Fixed some bugs
2011-03-19 17:47:18 +01:00
Benjamin Eberlei
44e85ae2f2
Finished first version of PhpTheme, added huge functional test.
2011-03-19 15:17:31 +01:00
Benjamin Eberlei
76b0041d1b
[Form] Implemented first PhpTheme attempt
2011-03-17 22:47:19 +01:00
Benjamin Eberlei
85b61fe1e2
First attempt of PhpTheme.
2011-03-17 19:05:48 +01:00
Fabien Potencier
33b9cacc3f
Merge remote branch 'vicb/profiler_tweaks'
...
* vicb/profiler_tweaks:
Tweak inline js
[WebProfilerBundle] Tweak some css
2011-03-08 14:43:57 +01:00
Victor Berchet
ba9e5b58ff
Tweak inline js
2011-03-08 10:23:31 +01:00
Fabien Potencier
73a78d0633
[FrameworkBundle] changed search input to use search as a type
2011-03-08 09:12:12 +01:00
Jordi Boggiano
bf18183adf
[FrameworkBundle] Don't hide logs by default in exception pages
2011-03-07 17:00:57 +01:00
Francis Besset
0f449dee80
[FrameworkBundle] Fixed typo in traces.html.twig
2011-03-07 00:08:39 +01:00
Francis Besset
1615f66909
[FrameworkBundle] Fixed typo in trace.html.twig
2011-03-07 00:04:38 +01:00
Fabien Potencier
be8618ec56
[FrameworkBundle] made various small fixes to the Exception layout
2011-03-06 11:50:22 +01:00
hhamon
f0e1df2688
[FrameworkBundle] made the exception stack trace integratable in the web profiler
2011-03-06 11:44:57 +01:00
hhamon
f75ec8d4ad
[FrameworkBundle] implemented new exception stack trace layout
2011-03-06 11:44:56 +01:00
Fabien Potencier
9a25878109
[FrameworkBundle] removed the Welcome page and moved it to the sandbox/standard distrib
2011-02-19 18:55:33 +01:00
Christophe Coevoet
e9c7188fc1
Use well-formed HTML in the default page
2011-02-19 18:21:12 +01:00
Juan Ases García
2ba9ebfee9
Fixed typo in json error template
2011-02-18 12:10:07 +01:00
Kris Wallsmith
4f6256b713
[FrameworkBundle] fixed invalid template filename
2011-02-06 16:14:37 +01:00
Bernhard Schussek
c468db5c5b
[Form] Merged classes FieldGroup and Form for simplicity
2011-02-01 15:27:12 +01:00
Bulat Shakirzyanov
571448b047
[FrameworkBundle] mode include tag filenames fixes
2011-01-24 19:33:43 +01:00
Bulat Shakirzyanov
5ff0dedebb
[FrameworkBundle] fixed template names
2011-01-22 07:23:55 +01:00
Henrik Bjørnskov
5e9c9f4174
Template rename fix files
2011-01-21 15:06:10 +01:00
Henrik Bjørnskov
a5007febdd
[FrameworkBundle] Renderer is once more the last of the templates
2011-01-21 15:06:10 +01:00
Jordi Boggiano
a305f9b25a
[Form] Fixed indenting
2011-01-19 16:25:50 +01:00
Jordi Boggiano
de3f240ea4
[Form] Added required attribute on input field templates
2011-01-19 16:25:49 +01:00
Jordi Boggiano
ae40a5da53
[Form] Use HTML5 number and url input types for number and url fields
2011-01-19 16:25:49 +01:00
Ryan Weaver
fac78859d5
[Form] Adding a row() PHP helper equivalent to the Twig form_row() for outputting the label, error and tag of a form field.
2011-01-17 19:07:01 +01:00
Joseph Rouff
ca60259ed0
Changes forgotten in view refactoring in 056b6e4d
...
* Several .php template have not been renamed in .php.html
2011-01-17 08:27:53 +01:00
Fabien Potencier
a365ab2884
changed the template name format
...
Before
bundle:section:template.format.renderer
After
bundle:section:template.renderer.format
Notice that both the renderer and the format are mandatory.
2011-01-15 12:33:27 +01:00
Bernhard Schussek
17acdd971c
[FrameworkBundle] Fixed maxlength attribute in TextField in PHP templates
2011-01-05 15:02:12 +01:00
Bernhard Schussek
114b2cf6c1
[FrameworkBundle] Attributes can now be passed when rendering form fields with the PHP renderer
2011-01-03 22:07:12 +01:00
Bernhard Schussek
d8b8ae0608
[FrameworkBundle][TwigBundle] Introduced field_row template for Form rendering
2011-01-02 10:41:00 +01:00
Fabien Potencier
62cd09e708
[TwigBundle] replaced the asset tag with an asset function (from {% asset css/foo.css %} to {{ asset('css/foo.css') }}
2010-12-31 16:59:44 +01:00
Fabien Potencier
6970a46b84
updated Twig templates for the new hash syntax
2010-12-14 09:46:24 +01:00
Bernhard Schussek
b4c359357f
[FrameworkBundle] Fixed choice_field.php template to use isChoiceGroup()
2010-12-10 14:28:00 +01:00
Fabien Potencier
55bed307f1
removed HttpException base class, refactored FlattenException class
2010-12-10 09:16:42 +01:00
Fabien Potencier
626af39800
fixed tabs
2010-12-09 16:37:02 +01:00
mwsaz
99bda3d8c4
[Form] removed extra blank line in textarea
2010-12-08 08:19:18 +01:00
Philip Dahlstrøm
b171ab9b7d
Added renderer for PasswordField.
2010-12-08 08:17:49 +01:00
Jordi Boggiano
c0565a5d47
[WebProfilerBundle][FrameworkBundle] Fix twig templates for compatibility with strict_variables
2010-11-26 20:24:31 +01:00
Fabien Potencier
c404effc4b
fixed output escaping
2010-11-24 14:30:09 +01:00
Bernhard Schussek
e0aa3f30a8
[Form] Improved FileField to store files in a temporary location in case validation fails
2010-11-23 06:51:30 +01:00
Bernhard Schussek
f2f0d044c3
[Form][FrameworkBundle] Fixed default values of CheckboxFields
2010-11-23 06:51:23 +01:00
Fabien Potencier
6fa943ad54
moved Exception and WebProfiler templates to Twig
2010-11-21 15:37:01 +01:00
fivestar
bfba386536
Fixed typo
2010-11-21 15:25:44 +01:00
Bernhard Schussek
e0d6aad5f4
[Form][FrameworkBundle][TwigBundle] Introduced class FieldError to wrap form errors
2010-11-19 07:11:29 +01:00
Jordi Boggiano
ac0081f8b9
Switching doctypes to HTML5, it's the future
2010-11-18 07:01:03 +01:00
Bernhard Schussek
1bbdb5ec07
[Form][FrameworkBundle][TwigBundle] Refactored the PHP and Twig templating layer
...
Support for theming in PHP templates has been dropped.
True theming should support theme inheritance, e.g. mytheme <- table <- default.
Currently, the Templating component does not support such inheritance. As the
only purpose of the themes so far was to style field groups with tables or
divs, and because automatic rendering of field groups/forms through the render()
method is discouraged and only recommended for rapid prototyping, themes are
dropped for now.
2010-11-16 22:26:35 +01:00
Fabien Potencier
2b613f34d5
[FrameworkBundle] removed the need for decorating with SafeDecorator
2010-10-28 11:50:33 +02:00
Fabien Potencier
bdb051083c
[FrameworkBundle] removed default controller for login
2010-10-20 11:34:21 +02:00
Fabien Potencier
f216f313e8
added the Security Component and its integration into the MVC framework
...
Happy birthday symfony!
2010-10-19 13:33:17 +02:00
Fabien Potencier
b42982c83f
fixed typo
2010-10-15 18:31:33 +02:00
Fabien Potencier
2525998f6e
replaced form field rendering with plain templates
...
Documentation available here:
http://docs.symfony-reloaded.org/master/guides/form/
2010-10-05 08:34:33 +02:00
Fabien Potencier
a6dc10c31a
changed templating name notation
...
Old notation: bundle:section:name.format:renderer (where both format and renderer are optional)
New notation: bundle:section:name.format.renderer (where only format is optional)
Valid new template names: Blog:Post:index.php, Blog:Post:index.xml.php
The new notation is more explicit and put all templating engines on the same level (there is no
more the concept of a "default" templating engine).
Even if the notation changed, the semantic has not. So, the logical template name for the above
examples is still 'index'. So, if you use a database loader for instance, the template
name is 'index' and everything else are options.
Upgrading current applications can be easily done by appending .php to each existing template
name reference (in both controllers and templates), and changing :twig to .twig for Twig templates
(for twig templates, you should also add .twig within templates themselves when referencing
another Twig templates).
2010-09-28 08:33:33 +02:00
Fabien Potencier
d657adbfa2
removed Symfony\Framework
...
Things have been moved to Symfony\Component\HttpKernel
and Symfony\Bundle\FrameworkBundle
The kernel configuration namespace was removed and merged
with the main web configuration namespace (kernel:config => web:config,
kernel:test => web:test, and kernel:session => web:session):
Before:
<kernel:config charset="UTF-8" error_handler="null" />
<web:config csrf-secret="xxxxxxxxxx">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
After:
<web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
Renamed classes:
Symfony\{Framework => Bundle\FrameworkBundle}\Cache\Cache
Symfony\{Framework => Bundle\FrameworkBundle}\Client
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcher
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcherTraceableInterface
Symfony\{Framework => Bundle\FrameworkBundle}\EventDispatcher
Symfony\{Framework => Component\HttpFoundation}\UniversalClassLoader
Symfony\{Framework => Component\HttpKernel}\Bundle\Bundle
Symfony\{Framework => Component\HttpKernel}\Bundle\BundleInterface
Symfony\{Framework => Component\HttpKernel}\ClassCollectionLoader
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorException
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorHandler
Symfony\{Bundle\FrameworkBundle => Component\HttpKernel}\Debug\ExceptionListener
Symfony\{Framework => Component\HttpKernel}\Kernel
2010-09-17 12:58:24 +02:00
Fabien Potencier
15fa905bd4
[FrameworkBundle] fixed exception styles
2010-09-08 13:54:02 +02:00
Fabien Potencier
eb7cbb77ec
fixed exception HTML markup ( closes #9044 , partially based on a patch from wrzasq)
2010-09-06 15:08:08 +02:00
Fabien Potencier
4e57899374
[WebProfilerBundle] added the bundle
2010-09-01 10:11:22 +02:00
Fabien Potencier
a29211a9ee
[FrameworkBundle] removed usage of array access for helpers in templates
2010-09-01 09:08:23 +02:00
Fabien Potencier
85f823fc08
[FrameworkBundle] added a condition to only show current content when it is not empty in the exception template
2010-09-01 09:02:59 +02:00
Fabien Potencier
8bdb9c142c
[FrameworkBundle] changed exception template to show class abbreviations
2010-09-01 09:01:00 +02:00
Fabien Potencier
0208800459
refactored exception management (removed the ExceptionManager)
2010-08-29 12:35:48 +02:00
Fabien Potencier
eb66e0dc00
[FrameworkBundle] made exception controller embeddable
2010-08-28 10:12:18 +02:00
Fabien Potencier
ec8500bd64
[FrameworkBundle] added support for previous exceptions in the exception pages
2010-08-24 14:01:57 +02:00
Fabien Potencier
a506f2ade8
[FrameworkBundle] modified the default layout for the error page to something more neutral
2010-08-20 18:47:08 +02:00
Fabien Potencier
f92accb9b7
[FrameworkBundle] fixed exception templates
2010-08-20 13:11:49 +02:00
Fabien Potencier
d5069fc594
[FrameworkBundle] refactored Exception management
2010-08-17 20:09:38 +02:00
Fabien Potencier
da9f36ca86
renamed Symfony\Foundation to Symfony\Framework
...
In existing applications, you need to updated the autoload.php file, the
XXXKernel file and all XXXBundle classes.
2010-07-09 10:25:54 +02:00
Fabien Potencier
15d439809c
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
2010-07-09 10:25:52 +02:00