Added ability to order the execution of dictionary adapter behaviors.
[castle.git] / Experiments / Attic / MVC / Castle.MVC / Configuration / Example.config
bloba691964d302622652e6f1097183d23dbc04169e7
1 <?xml version="1.0" standalone="yes" encoding="utf-8" ?>
2 <configuration>
3 <configSections>
4 <section name="mvc" type="castle.mvc.Configuration.ConfigurationSectionHandler, castle.mvc"/>
5 <section name="castle" type="Castle.Windsor.Configuration.AppDomain.CastleSectionHandler, Castle.Windsor" />
6 </configSections>
7 <castle>
8 <facilities>
9 <facility id="MVCFacility" type="Castle.MVC.MVCFacility, Castle.MVC" />
10 </facilities>
12 <components>
13 <!-- MVC components -->
14 <component id="state"
15 service="Castle.MVC.States.IState, Castle.MVC"
16 type="Castle.MVC.Test.Presentation.MyApplicationState, Castle.MVC.Test.Presentation" />
18 <component id="navigator"
19 service="Castle.MVC.Navigation.INavigator, Castle.MVC"
20 type="Castle.MVC.Navigation.DefaultNavigator, Castle.MVC" />
21 <component id="viewManager"
22 service="Castle.MVC.Views.IViewManager, Castle.MVC"
23 type="Castle.MVC.Views.XmlWebViewManager, Castle.MVC" />
24 <component id="statePersister"
25 service="Castle.MVC.StatePersister.IStatePersister, Castle.MVC"
26 type="Castle.MVC.StatePersister.SessionPersister, Castle.MVC" />
27 </components>
28 </castle>
29 <mcv>
30 <webViews>
31 <view id="control.id" path="/views/cart/cart.aspx" />
32 <view id="cart" path="/views/cart/cart.aspx" />
33 <view id="browsecatalog" path="/views/catalog/browsecatalog.aspx" />
34 <view id="error" path="/views/error.aspx" />
35 </webViews>
37 <!-- not yet implemented -->
38 <winViews>
39 <view id="cart" type="Application.WinUI.cart, Application.WinUI" />
40 <view id="browsecatalog" type="Application.WinUI.browsecatalog, Application.WinUI" />
41 <view id="error" type="Application.WinUI.error, Application.WinUI"/>
42 </winViews>
44 <global-commands>
45 <command id="goHome" view="Default" />
46 <command id="showCategory" view="Category" />
47 <command id="showCart" view="Cart" />
48 <command id="signIn" view="SignIn" />
49 <command id="signOut" view="SignOut" />
50 <command id="editAccount" view="AccountEdition" />
51 <command id="showResult" view="SearchProduct" />
52 <command id="register" view="Register" />
53 </global-commands>
55 <command-mappings>
56 <commands view="cart">
57 <command id="resume" view="browsecatalog" />
58 <command id="checkout" view="checkout" />
59 <command id="fail" view="error" />
60 <command id="stop" view="logon"/>
61 </commands>
62 </command-mappings>
63 </mvc>
65 </configuration>