Changed to use Authenticate asp.net event instead of Authorize
[castle.git] / MonoRail / TestSite / views / home / bag.aspx
blobc309000ce717a5134f29e7bd89b1755627a94b83
1 <%@ Implements Interface="Castle.MonoRail.Framework.IControllerAware" %>
2 <%@ Import Namespace="Castle.MonoRail.Framework" %>
3 <script runat=server>
5         private Controller _controller;
7         public void SetController(Controller controller)
8         {
9                 _controller = controller;
10         }
12 </script>
13 Customer is <%= _controller.PropertyBag["CustomerName"] %>
14 <br>
15 <% 
16    String[] values = (String[]) _controller.PropertyBag["List"];
17    foreach(String value in values) 
18    {
19       Response.Write(value);
20    }