1 2009-10-02 Marek Habersack <mhabersack@novell.com>
3 * DynamicValidator.cs: initial implementation
5 * DynamicDataManager.cs: implemented OnLoad.
6 Better implementation of RegisterControl
8 * DynamicDataExtensions.cs: implemented FindDataSourceControl.
10 2009-09-18 Marek Habersack <mhabersack@novell.com>
12 * MetaTable.cs: implemented Init - calls Init on all the columns
13 present in this instance.
15 * MetaModel.cs: constructor initializes FieldTemplateFactory after
17 RegisterContextCore first registers the context type, then creates
18 tables and finally calls Init on all the tables.
20 * MetaColumn.cs: added internal Init method - called by MetaModel
21 after context is registered and all tables are created and
24 * MetaChildrenColumn.cs: implemented ChildTable,
25 ColumnInOtherTable, GetChildrenListPath, GetChildrenPath and added
26 an internal Init method override. MonoTODO attributes stay until I
27 write tests for the class.
29 * FieldTemplateUserControl.cs: implemented ChildrenColumn,
30 ChildrenPath, Column, ForeignKeyColumn, ForeignKeyPath,
31 MetadataAttributes, Mode, Row, Table, SetHost
33 * FieldTemplateFactory.cs: GetFieldTemplateVirtualPath fixes
35 * DynamicControl.cs: implemented ApplyFormatInEditMode,
36 ConvertEmptyStringToNull, DataField, DataFormatString, HtmlEncode,
37 FormattingOptions, NullDisplayText, UIHint, OnInit, Render.
39 2009-09-15 Marek Habersack <mhabersack@novell.com>
41 * MetaColumn.cs: DataTypeAttribtue created automatically for
42 string columns, must be of type MultilineText for long strings.
44 * FieldTemplateFactory.cs: implemented BuildVirtualPath,
45 CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
46 and fixed implementation of TemplateFolderVirtualPath.
48 2009-09-10 Marek Habersack <mhabersack@novell.com>
50 * DynamicControl.cs: implemented several properties.
51 Added code for ResolveColumn method, called from OnInit
53 2009-07-14 Marek Habersack <mhabersack@novell.com>
55 * FieldTemplateFactory.cs: implemented TemplateFolderVirtualPath
57 2009-06-27 Marek Habersack <mhabersack@novell.com>
59 * DynamicDataExtensions.cs: implemented ConvertEditedValue
61 * MetaModel.cs: implemented DynamicDataFolderVirtualPath
63 * DynamicDataRouteHandler.cs: implemented SetRequestMetaTable,
64 GetCustomPageVirtualPath, GetScaffoldPageVirtualPath and
65 guessed at implementation of CreateHandler.
67 2009-06-26 Marek Habersack <mhabersack@novell.com>
69 * MetaModel.cs: RegisterContextCore preserves already registered
72 * DynamicDataRouteHandler.cs: GetRequestContext must not retrieve
73 route data from the routes collection (if the matching route
74 happened to be an instance of DynamicDataRoute it would initialize
75 its RouteHandler's Model property, which is not correct, according
76 to tests). Instead a new RouteData instance is created each time
77 we don't find any cached context.
79 * DynamicDataRoute.cs: the associated route handler is set its
80 Model property when we initialize for the first time.
81 GetRouteData checks whether route data returned by base class
82 relates to a table which exists in the current context. If no such
83 table exists, null is returned.
85 2009-06-25 Marek Habersack <mhabersack@novell.com>
87 * MetaTable.cs: Fixes to make tests succeed.
89 * MetaModel.cs: added the GetDataFieldAttributes method for
90 retrieving attributes associated with data type/field.
91 Fixes to make tests succeed.
93 * MetaColumn.cs: refactoring - use
94 MetaModel.GetDataFieldAttributes instead of the local version.
96 * DynamicDataRouteHandler.cs: implemented GetRequestContext,
99 * DynamicDataRoute.cs: when the Action and Table properties are
100 set before one of GetVirtualPath or GetRouteData methods are
101 called for the first time, a check is made whether the Defaults
102 collection exists and whether it contains entries for Action and
103 Table. Initialization code makes sure those entries are inserted
104 into the dictionary in those cases.
106 2009-06-23 Marek Habersack <mhabersack@novell.com>
108 * MetaTable.cs: constructor now takes ContextConfiguration instead
109 of a boolean and uses the config to determine value of the
110 ScaffoldAllTables property. Also, if context config is present,
111 makes sure to register the associated type description provider
112 (if any) with TypeDescriptor.
114 * MetaModel.cs: no longer uses local cache for description
115 providers. Uses TypeDescriptor.{Add,Get}Provider now.
117 * MetaColumn.cs: fixed Scaffold to match tests - IsGenerated and
118 IsCustomProperty take precedence over Table.ScaffoldAllTables.
119 GetDataFieldAttribute doesn't use AttributeCollection indexer, as
120 the latter would create a default instance of the requested
121 attribute, which is not what we want here.
123 2009-06-17 Marek Habersack <mhabersack@novell.com>
125 * MetaTable.cs: fixed Scaffold implementation.
126 Added internal ScaffoldAllTables property.
128 * MetaColumn.cs: fixed TypeCode, MaxLength, Scaffold, UIHint
130 Implemented IsLongString, IsBinaryData, IsReadOnly,
131 NullDisplayText, RequiredErrorMessage
133 2009-06-16 Marek Habersack <mhabersack@novell.com>
135 * DynamicDataManager.cs, DynamicDataExtensions.cs: use new
136 DataBoundControl.DataSourceObject instead of
137 InternalGetDataSource.
139 2009-06-15 Marek Habersack <mhabersack@novell.com>
141 * MetaColumn.cs: implemented ApplyFormatInEditMode, Attributes,
142 ConvertEmptyStringToNull, DataFormatString, DataTypeAttribute,
143 DefaultValue, Description, DisplayName, IsRequired,
144 IsFloatingPoint, IsInteger, IsString, TypeCode
146 * MetaTable.cs: use MetaModel.GetTypeDescriptor to retrieve
147 associated entity type attributes.
149 * MetaModel.cs: implemented registration of type metadata
150 cache. Metadata is provided by a set of TypeDescriptionProvider
151 instances (if ContextConfig is present for given model provider)
152 or by default type description provider (note that this
153 functionality is not implemented in
154 System.ComponentModel.TypeDescriptor yet!).
156 2009-06-12 Marek Habersack <mhabersack@novell.com>
158 * MetaTable.cs: implemented correct detection of foreign key
160 Implemented IsReadOnly, SortColumn, SortDescending.
162 2009-06-10 Marek Habersack <mhabersack@novell.com>
164 * MetaTable.cs: fixed DisplayName implementation.
165 Implemented GetPrimaryKeyString, GetQuery.
167 2009-06-09 Marek Habersack <mhabersack@novell.com>
169 * MetaTable.cs: implemented more overloads of GetActionPath.
170 Implemented GetPrimaryKeyValues, GetActionPathFromRoutes,
171 Attributes, DisplayColumn, GetDisplayString.
173 2009-06-01 Marek Habersack <mhabersack@novell.com>
175 * MetaModel.cs: GetModel throws InvalidOperationException on
177 Implemented GetActionPath and GetTable.
179 2009-04-29 Marek Habersack <mhabersack@novell.com>
181 * MetaTable.cs: implemented the DataContextType,
182 DataContextPropertyName properties and the ToString method.
184 * MetaColumn.cs: implemented the Scaffold, DisplayName,
185 SortExpression, UIHint properties and the ToString method.
187 * DynamicField.cs: implemented
189 * DynamicDataManager.cs: partially implemented RegisterControl.
190 Added internal AutoFieldGenerator class, used by RegisterControl
191 when dealing with GridView.
192 Implemented some properties.
194 * DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
196 * DynamicControl.cs: implemented parts of the class.
198 2009-04-23 Marek Habersack <mhabersack@novell.com>
200 * ContextConfiguration.cs: implemented all the methods and added a
201 parameterless constructor.
203 2008-10-21 Atsushi Enomoto <atsushi@ximian.com>
205 * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs:
206 ongoing implementation; resolve to page templates.
208 2008-10-17 Atsushi Enomoto <atsushi@ximian.com>
210 * DynamicDataRouteHandler.cs, DynamicDataRoute.cs, MetaTable.cs,
211 MetaModel.cs : ongoing implementation.
213 2008-10-16 Atsushi Enomoto <atsushi@ximian.com>
215 * DynamicDataManager.cs, DynamicDataRoute.cs,
216 FieldTemplateFactory.cs, MetaChildrenColumn.cs,
217 MetaColumn.cs, MetaForeignKeyColumn.cs, MetaModel.cs, MetaTable.cs:
218 ongoing implementation.
220 2008-10-14 Atsushi Enomoto <atsushi@ximian.com>
222 *.cs : initial checkin. stubs.