Refactoring: moving
the Catalog manager and model into the Yavsc.Model.FrontOffice namespace * Web.config: * Catalog.xml: * MyClass.cs: * Note.cs: * Euro.cs: * Unit.cs: * Text.cs: * Link.cs: * Price.cs: * Label.cs: * Brand.cs: * Scalar.cs: * Option.cs: * Period.cs: * YavscModel.csproj: * Catalog.cs: * Service.cs: * Product.cs: * YavscClient.csproj: * CatalogManager.cs: * Currency.cs: * CheckBox.cs: * SaleForm.cs: * FormInput.cs: * CatalogProvider.cs: * TextInput.cs: * SelectItem.cs: * SalesCatalog.csproj: * FilesInput.cs: * FormElement.cs: * SelectInput.cs: * IValueProvider.cs: * StockStatus.cs: * RadioButton.cs: * Commande.cs: * ProductImage.cs: * WebCatalogExtensions.cs: * TemplateException.cs: * ProductCategory.cs: * PhysicalProduct.cs: * Note.cs: * Link.cs: * Text.cs: * Euro.cs: * Unit.cs: * WorkFlowManager.cs: * Brand.cs: * Label.cs: * Price.cs: * Scalar.cs: * FrontOfficeController.cs: * Period.cs: * Option.cs: * Product.cs: * Service.cs: * Catalog.cs: * SaleForm.cs: * Currency.cs: * CheckBox.cs: * TextInput.cs: * FrontOfficeApiController.cs: * FormInput.cs: * SelectItem.cs: * FilesInput.cs: * XmlCatalog.cs: * FormElement.cs: * SelectInput.cs: * RadioButton.cs: * StockStatus.cs: * ProductImage.cs: * CatalogHelper.cs: * CatalogManager.cs: * CatalogProvider.cs: * ProductCategory.cs: * PhysicalProduct.cs: * XmlCatalogProvider.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogHelper.cs:
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
using System;
|
||||
using System.Web;
|
||||
using SalesCatalog;
|
||||
using SalesCatalog.Model;
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
using System.Web.Mvc.Html;
|
||||
using Yavsc.Model.FrontOffice;
|
||||
|
||||
namespace Yavsc.CatExts
|
||||
{
|
||||
|
@ -38,17 +38,26 @@
|
||||
<Id>comment</Id>
|
||||
<Value xsi:type="xsd:string">Commentaire</Value>
|
||||
</FormElement>
|
||||
<!-- <FormElement xsi:type="Text">
|
||||
<FormElement xsi:type="Text">
|
||||
<Val>Choisissez le type d'intervention souhaité: </Val>
|
||||
</FormElement>
|
||||
- <FormElement xsi:type="SelectInput">
|
||||
|
||||
<FormElement xsi:type="TextInput">
|
||||
<Id>testarray[]</Id>
|
||||
<Value xsi:type="xsd:string">xxxxxxxxxx</Value>
|
||||
</FormElement>
|
||||
<FormElement xsi:type="TextInput">
|
||||
<Id>testarray[]</Id>
|
||||
<Value xsi:type="xsd:string"></Value>
|
||||
</FormElement>
|
||||
<FormElement xsi:type="SelectInput">
|
||||
<Id>ad</Id>
|
||||
<Items>
|
||||
<string>à distance</string>
|
||||
<string>sur site</string>
|
||||
</Items>
|
||||
<SelectedIndex>0</SelectedIndex>
|
||||
</FormElement> -->
|
||||
</FormElement>
|
||||
</Items>
|
||||
</DefaultForm>
|
||||
</Brand>
|
||||
|
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using Yavsc;
|
||||
using SalesCatalog;
|
||||
using SalesCatalog.Model;
|
||||
using System.Web.Routing;
|
||||
using System.Threading.Tasks;
|
||||
using System.Diagnostics;
|
||||
@ -23,6 +22,7 @@ using System.Text;
|
||||
using System.Web.Profile;
|
||||
using System.Collections.Specialized;
|
||||
using Yavsc.Model;
|
||||
using Yavsc.Model.FrontOffice;
|
||||
|
||||
namespace Yavsc.ApiControllers
|
||||
{
|
||||
|
@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using Yavsc;
|
||||
using SalesCatalog;
|
||||
using SalesCatalog.Model;
|
||||
using System.Web.Mvc;
|
||||
using System.Web;
|
||||
using System.Text.RegularExpressions;
|
||||
|
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using Yavsc;
|
||||
using SalesCatalog;
|
||||
using SalesCatalog.Model;
|
||||
using System.Web.Routing;
|
||||
using System.Threading.Tasks;
|
||||
using System.Diagnostics;
|
||||
|
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using Yavsc;
|
||||
using SalesCatalog;
|
||||
using SalesCatalog.Model;
|
||||
using System.Web.Routing;
|
||||
using System.Threading.Tasks;
|
||||
using System.Diagnostics;
|
||||
|
@ -240,7 +240,7 @@ http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
|
||||
</system.diagnostics>
|
||||
<catalog defaultProvider="XmlCatalogProvider">
|
||||
<providers>
|
||||
<add name="XmlCatalogProvider" connection="/srv/www/yavsc/Catalog.xml" applicationName="/" type="SalesCatalog.XmlImplementation.XmlCatalogProvider, SalesCatalog" />
|
||||
<add name="XmlCatalogProvider" connection="~/Catalog.xml" applicationName="/" type="SalesCatalog.XmlImplementation.XmlCatalogProvider, SalesCatalog" />
|
||||
</providers>
|
||||
</catalog>
|
||||
<system.net>
|
||||
|
Reference in New Issue
Block a user