Bernhard Schussek
|
d3b7c4e8c1
|
[Form] Moved getLabel(), isChoiceSelected() and isChoiceGroup() from ChoiceListInterface to ThemeRenderer
|
2011-04-02 14:14:18 +02: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
|
e7df781c34
|
[Form] Fixed calls to ThemeRenderer::renderPart()
|
2011-03-28 11:22:27 +02:00 |
|
Bernhard Schussek
|
65f58c9fd1
|
[Form] Introduced generic RendererInterface
|
2011-03-27 23:43:14 +02:00 |
|
Bernhard Schussek
|
1fa004ceb2
|
[Form] Simplified the interface names of the Renderer subnamespace
|
2011-03-27 23:39:01 +02:00 |
|
Bernhard Schussek
|
8a981dd047
|
[Form] Removed unused variable
|
2011-03-27 17:37:42 +02:00 |
|
Bernhard Schussek
|
67d85c6bc7
|
[Form] Fixed signature of FormThemeInterface::render()
|
2011-03-27 13:48:38 +02: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
|
eaff9c641e
|
[Form] Fixed: the default template is only set on the root renderer and reused by children
|
2011-03-26 19:39:31 +01:00 |
|
Bernhard Schussek
|
fae319e77a
|
[Form] Renderers are now created explicitely using FormFactory::createRenderer(). This improves performance on requests where a form does not need to be rendered
|
2011-03-26 16:03:34 +01:00 |
|
Bernhard Schussek
|
8c7a93c90c
|
[Form] Added FormTypeInterface::buildRendererBottomUp() which is called after children are initialized
|
2011-03-26 16:03:34 +01:00 |
|
Bernhard Schussek
|
c786fac303
|
[Form] Sample fix implementation of renderers
|
2011-03-26 16:03:34 +01:00 |
|
Bernhard Schussek
|
41c3aea668
|
Merge remote branch 'beberlei/FormRendererItrator' into beberlei-merge
|
2011-03-26 13:43:33 +01:00 |
|
Benjamin Eberlei
|
f882a511a0
|
[Form] Initialize on iterator access.
|
2011-03-26 12:28:46 +01:00 |
|
Benjamin Eberlei
|
cd1ce86aee
|
[Form] Iterator support for ThemeRenderer
|
2011-03-26 12:25:47 +01:00 |
|
Benjamin Eberlei
|
73d8470a76
|
[Form] Fix children implementation, setChildren() is not used, the attribute "fields" is.
|
2011-03-26 09:42:45 +01:00 |
|
Bernhard Schussek
|
9b1b8cbffa
|
[Form] Replaced various occurences of 'field' by 'form'
|
2011-03-25 02:12:01 +01:00 |
|
Bernhard Schussek
|
66ba0c3a73
|
[Form] Fixed: vars are initialized when ThemeRenderer::getVars() is accessed
|
2011-03-25 00:16:23 +01:00 |
|
Benjamin Eberlei
|
8d6dd2b9af
|
[Form] Add Arbitrary Attribute Support to Form Rendering.
|
2011-03-24 22:08:08 +01:00 |
|
Bernhard Schussek
|
0b4c3c0cb8
|
[Form] Fixed coding conventions
|
2011-03-24 15:26:17 +01:00 |
|
Bernhard Schussek
|
2faa47d03b
|
[Form] Added fallback templates to TwigThemeFactory
|
2011-03-24 15:11:43 +01:00 |
|
Bernhard Schussek
|
1211d77f49
|
[Form] Introduced renderer theme factories so that themes can be changed during runtime
|
2011-03-24 14:27:21 +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
|
5078a63c74
|
Revert "[Form] Fixed more naming of themes and theme engines"
This reverts commit 1aa34b7240 .
|
2011-03-24 10:54:47 +01:00 |
|
Bernhard Schussek
|
1aa34b7240
|
[Form] Fixed more naming of themes and theme engines
|
2011-03-23 22:51:37 +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 |
|
John Wards
|
85701b65af
|
[Form] Missing methods from interfaces
|
2011-03-22 22:20:14 +00:00 |
|
John Wards
|
1a014d130e
|
[Form] Tests for Renderer Plugins
|
2011-03-22 22:19:51 +00:00 |
|
Bernhard Schussek
|
01a47457d0
|
[Form] Improved naming of various interfaces. Renamed DefaultRenderer to ThemeRenderer
|
2011-03-21 20:57:38 +01:00 |
|
Bernhard Schussek
|
2dbb41714a
|
[Form] Merged Field and Form. Merged FieldBuilder and FormBuilder. After the refactoring, the distinction between the two concepts is small enough to merge them
|
2011-03-20 13:35:19 +01:00 |
|
Bernhard Schussek
|
cb599f417e
|
[Form] Renamed field option 'disabled' to 'read_only'. How to render read-only fields is now the responsibility of the renderer
|
2011-03-20 10:35:16 +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
|
af60ddf8ad
|
Moved PhpTheme to FrameworkBundle and renamed to PhpEngineTheme
|
2011-03-19 15:27:39 +01:00 |
|
Benjamin Eberlei
|
3e2b8e5f12
|
Fix some missing use statements and small bugs.
|
2011-03-19 14:31:25 +01:00 |
|
Benjamin Eberlei
|
bb8c2a9b9d
|
Rename this to renderer to be able to use it in Php Templating
|
2011-03-19 11:54:46 +01:00 |
|
Benjamin Eberlei
|
d44e2264ba
|
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
|
2011-03-19 09:36:30 +01:00 |
|
Bernhard Schussek
|
b66b8326a8
|
[Form] Fixed undefined variable in DefaultRenderer
|
2011-03-18 17:03:12 +01:00 |
|
Bernhard Schussek
|
6bc79a1a12
|
[Form] Renamed different kinds of data transformers within a field for better clarity
|
2011-03-18 16:59:34 +01:00 |
|
Bernhard Schussek
|
9caaf0f3a3
|
[Form] Introduced FieldBuilder for field/form creation and made Field/Form mostly immutable
|
2011-03-18 12:50:26 +01:00 |
|
Benjamin Eberlei
|
76b0041d1b
|
[Form] Implemented first PhpTheme attempt
|
2011-03-17 22:47:19 +01:00 |
|
Benjamin Eberlei
|
3bc825bbd4
|
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
|
2011-03-17 19:05:59 +01:00 |
|
Benjamin Eberlei
|
85b61fe1e2
|
First attempt of PhpTheme.
|
2011-03-17 19:05:48 +01:00 |
|
Bernhard Schussek
|
7a63b840f3
|
[Form] Renamed submit() to bind()
|
2011-03-17 14:55:26 +01:00 |
|
Bernhard Schussek
|
ffa5bd264a
|
[Form] Moved logic of Field::isMultipart() to rendering layer
|
2011-03-17 14:40:34 +01:00 |
|
Bernhard Schussek
|
50ce0d53a0
|
[Form] Removed FieldInterface::getDisplayedData(). Use getTransformedData() instead
|
2011-03-17 14:28:59 +01:00 |
|
Bernhard Schussek
|
eba602ed1b
|
[Form] Removed dependency from renderer plugins on fields. The field instance is now passed to setUp() instead.
|
2011-03-17 13:37:27 +01:00 |
|
Bernhard Schussek
|
cb283d3783
|
[Form] Renamed 'key' to 'name'. Removed setKey() totally.
|
2011-03-17 11:03:10 +01:00 |
|
Bernhard Schussek
|
bfbc1121ce
|
[Form] Added ArrayAccess to DefaultRenderer
|
2011-03-02 22:56:20 +01:00 |
|
Bernhard Schussek
|
0f8cd43ac4
|
[Form] The TwigTheme now accepts several templates
|
2011-03-02 16:24:22 +01:00 |
|
Bernhard Schussek
|
e53c688a6b
|
[Form] Fixed RepeatedField, improved structure of the Twig templates
|
2011-03-02 16:00:31 +01:00 |
|