* MetaTable.cs: implemented Init - calls Init on all the columns
present in this instance.
* MetaModel.cs: constructor initializes FieldTemplateFactory after
it is instantiated.
RegisterContextCore first registers the context type, then creates
tables and finally calls Init on all the tables.
* MetaColumn.cs: added internal Init method - called by MetaModel
after context is registered and all tables are created and
registered.
* MetaChildrenColumn.cs: implemented ChildTable,
ColumnInOtherTable, GetChildrenListPath, GetChildrenPath and added
an internal Init method override. MonoTODO attributes stay until I
write tests for the class.
* FieldTemplateUserControl.cs: implemented ChildrenColumn,
ChildrenPath, Column, ForeignKeyColumn, ForeignKeyPath,
MetadataAttributes, Mode, Row, Table, SetHost
* FieldTemplateFactory.cs: GetFieldTemplateVirtualPath fixes
* DynamicControl.cs: implemented ApplyFormatInEditMode,
ConvertEmptyStringToNull, DataField, DataFormatString, HtmlEncode,
FormattingOptions, NullDisplayText, UIHint, OnInit, Render.
2009-09-18 Marek Habersack <[email protected]>
* TestsBasePage.cs: added an event ItemDataBinding, invoked
whenever an item is data bound.
2009-09-18 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_10.aspx,
Test/WebPages/ListView_DynamicControl_10.aspx.cs
2009-09-18 Marek Habersack <[email protected]>
* DynamicControlTest.cs: FieldTemplate_1 - fixed fake edit
postback for Mono.
svn path=/trunk/mcs/; revision=142161
* Makefile (TEST_RESOURCE_FILES): added
Test/WebPages/ListView_DynamicControl_09.aspx and
Test/WebPages/ListView_DynamicControl_09.aspx.cs
2009-09-15 Marek Habersack <[email protected]>
* FieldTemplateFactoryTest.cs: implemented tests for
BuildVirtualPath, GetFieldTemplateVirtualPath and PreprocessMode.
2009-09-15 Marek Habersack <[email protected]>
* MetaColumn.cs: DataTypeAttribtue created automatically for
string columns, must be of type MultilineText for long strings.
* FieldTemplateFactory.cs: implemented BuildVirtualPath,
CreateFieldTemplate, GetFieldTemplateVirtualPath, PreprocessMode
and fixed implementation of TemplateFolderVirtualPath.
2009-09-15 Marek Habersack <[email protected]>
* DataTypeAttribute.cs: implemented GetDataTypeName
2009-09-15 Marek Habersack <[email protected]>
* ListView.cs: CreateChildControls calls EnsureDataBound only if
we're not in post-back and if data binding is required.
svn path=/trunk/mcs/; revision=141922
* FieldTemplateFactoryTest.cs: added
* DynamicControlTest.cs: added TearDown method to clean up after
non-default field template tests.
Added tests for GetAttribute, HtmlEncode, FormattingOptions, Mode,
NullDisplayText, SetAttribute, ValidationGroup.
2009-07-14 Marek Habersack <[email protected]>
* AssertExtensions.cs: include full exception trace in the Fail
message
2009-07-14 Marek Habersack <[email protected]>
* FieldTemplateFactory.cs: implemented TemplateFolderVirtualPath
svn path=/trunk/mcs/; revision=137862
* DynamicControlTest.cs: added tests for ApplyFormatInEditMode,
Column, ConvertEmptyStringToNull, CssClass, DataField,
DataFormatString, FieldTemplate, Table, UIHint
2009-07-08 Marek Habersack <[email protected]>
* WebTest.cs: added new public property - TestBaseDir, to be used
by code which needs to access the files in the work dir.
2009-07-08 Marek Habersack <[email protected]>
* TestsSetup.cs: added the BuildPath helper method which converts
unix-style filesystem paths to the os-specific format.
svn path=/trunk/mcs/; revision=137568
* Added some resources to WebPages - a test web page for
DynamicControlTest and the required DynamicData scaffolding.
2009-07-03 Marek Habersack <[email protected]>
* Makefile: added more resources to the test assembly
2009-07-03 Marek Habersack <[email protected]>
* DynamicControlTest.cs: added
2009-07-03 Marek Habersack <[email protected]>
* DynamicDataContainerModelProvider.cs,
DynamicDataContainerTableProvider.cs: are generic classes now.
2009-07-03 Marek Habersack <[email protected]>
* IDynamicDataContainer.cs: became a generic interface.
* DynamicDataSource.cs; some reformatting.
DynamicDataSourceView is a generic class now.
* DynamicDataContainer.cs: IDynamicDataContainer is a generic
interface now.
2009-07-03 Marek Habersack <[email protected]>
* TestsSetup.cs: custom WebTest setup for DynamicData
* TestsBasePage.cs: a base class for all the web pages used by the
tests.
* MiscExtensions.cs: added some helper extensions for fishing out
controls from control trees.
* ITestDataContext.cs: GetTableData gets full set of query
arguments.
2009-07-03 Marek Habersack <[email protected]>
* AssemblyInfo.cs: added. Necessary, because we need to set up
WebTest environment and it is done via an assembly-level custom
attribute.
svn path=/trunk/mcs/; revision=137369
* MetaTable.cs: implemented the DataContextType,
DataContextPropertyName properties and the ToString method.
* MetaColumn.cs: implemented the Scaffold, DisplayName,
SortExpression, UIHint properties and the ToString method.
* DynamicField.cs: implemented
* DynamicDataManager.cs: partially implemented RegisterControl.
Added internal AutoFieldGenerator class, used by RegisterControl
when dealing with GridView.
Implemented some properties.
* DynamicDataExtensions.cs: implemented GetTable and FindMetaTable
* DynamicControl.cs: implemented parts of the class.
2009-04-29 Marek Habersack <[email protected]>
* DataBoundControl.cs: added InternalGetDataSource method, used by
DynamicData
2009-04-29 Marek Habersack <[email protected]>
* AssemblyInfo.cs: added InternalsVisibleTo for
System.Web.DynamicData
2009-04-29 Marek Habersack <[email protected]>
* Test/System.Web.DynamicData.ModelProviders/TableProviderTest.cs:
added
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/DynamicDataManagerTest.cs,
System.Web.DynamicData/DynamicDataExtensionsTest.cs,
System.Web.DynamicData.ModelProviders/TableProviderTest.cs
* System.Web.DynamicData.dll.sources: added
System.Web.DynamicData.ModelProviders/DLinqAssociationProvider.cs
System.Web.DynamicData.ModelProviders/DLinqColumnProvider.cs
System.Web.DynamicData.ModelProviders/DLinqDataModelProvider.cs
System.Web.DynamicData.ModelProviders/DLinqTableProvider.cs and
removed
System.Web.DynamicData.ModelProviders/DLinqDataModelProviders.cs
2009-04-29 Marek Habersack <[email protected]>
* TableProvider.cs: implemented
* DLinqDataModelProvider.cs: renamed from
DLinqDataModelProviders.cs and moved some classes to separate
files.
* DLinqTableProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqColumnProvider.cs: moved to here from
DLinqDataModelProvider.cs
* DLinqAssociationProvider.cs: added
2009-04-29 Marek Habersack <[email protected]>
* DataBinder.cs: GetPropertyValue must throw also if propName is
empty.
2009-04-23 Marek Habersack <[email protected]>
* ContextConfiguration.cs: implemented all the methods and added a
parameterless constructor.
2009-04-23 Marek Habersack <[email protected]>
* System.Web.DynamicData_test.dll.sources: added
System.Web.DynamicData/ContextConfigurationTest.cs
* Makefile: tests need to be linked with
System.ComponentModel.DataAnnotations.dll
2009-04-23 Marek Habersack <[email protected]>
* AssociatedMetadataTypeTypeDescriptor.cs: added - doesn't add any
real functionality yet.
* AssociatedMetadataTypeTypeDescriptionProvider.cs: implemented
all the methods.
2009-04-23 Marek Habersack <[email protected]>
* System.ComponentModel.DataAnnotations_test.dll.sources: added
* System.ComponentModel.DataAnnotations.dll.sources: added
System.ComponentModel.DataAnnotations/AssociatedMetadataTypeTypeDescriptor.cs
* Makefile: enabled tests
2009-04-23 Marek Habersack <[email protected]>
* ContextConfigurationTest.cs: added
svn path=/trunk/mcs/; revision=133003