User: jamescurran
Date: 2010/04/01 03:13 PM
Added:
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/
AutoList.png, Castle.MonoRail.PortableAreaExample-vs2008.csproj, PATest.cs,
patest.css
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Properties/
AssemblyInfo.cs
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/layouts/
patest.vm
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/
page1.vm, page2.vm, page3.vm
Log:
Initial Check-in of Portable Area Example.
Directory Changes:
Directory: /svn:mime-type/
==========================
+ application/octet-stream
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Castle.MonoRail.PortableAreaExample-vs2008.csproj
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Castle.MonoRail.PortableAreaExample-vs2008.csproj
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{32137E1C-0252-4009-82E6-1A482612E44A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Castle.MonoRail.PortableAreaExample</RootNamespace>
+ <AssemblyName>Castle.MonoRail.PortableAreaExample</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'
">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Castle.Core, Version=1.2.0.0, Culture=neutral,
PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\SharedLibs\Castle.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="Castle.MonoRail.Framework, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\SharedLibs\Castle.MonoRail.Framework.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="PATest.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference
Include="..\Castle.MonoRail.ViewComponents\Castle.MonoRail.ViewComponents-vs2008.csproj">
+ <Project>{717C688D-81BC-4C81-9487-1D5151ADF573}</Project>
+ <Name>Castle.MonoRail.ViewComponents-vs2008</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="patest\page1.vm" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="AutoList.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="layouts\patest.vm" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="patest\page3.vm" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="patest\page2.vm" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="patest.css" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets
below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
File Changes:
Directory: /viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/
============================================================================
File [added]: AutoList.png
Delta lines: +0 -0
===================================================================
Property changes on:
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/AutoList.png
___________________________________________________________________
File [added]: Castle.MonoRail.PortableAreaExample-vs2008.csproj
Delta lines: +21 -0
===================================================================
--- viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/PATest.cs
(rev 0)
+++ viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/PATest.cs
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Castle.MonoRail.ViewComponents;
+using Castle.MonoRail.Framework;
+using Castle.MonoRail.Framework.Views;
+using Castle.MonoRail.Framework.Configuration;
+
+namespace Castle.MonoRail.PortableAreaExample_vs2008
+{
+[Layout("default","patest")]
+public class PATest : PortableAreaController
+{
+ public void Page1()
+ { }
+ public void Page2()
+ { }
+ public void Page3()
+ { }
+}
File [added]: PATest.cs
Delta lines: +35 -0
===================================================================
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Properties/AssemblyInfo.cs
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Properties/AssemblyInfo.cs
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Castle.MonoRail.PortableAreaExample-vs2008")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Castle.MonoRail.PortableAreaExample-vs2008")]
+[assembly: AssemblyCopyright("Copyright © 2010")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed
to COM
+[assembly: Guid("5eb8a4d2-f50b-4320-b1ec-fec504286df6")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision
Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
File [added]: patest.css
Delta lines: +0 -0
===================================================================
Directory:
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/Properties/
=======================================================================================
File [added]: AssemblyInfo.cs
Delta lines: +7 -0
===================================================================
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/layouts/patest.vm
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/layouts/patest.vm
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,7 @@
+<link rel="stylesheet" type="text/css"
href="$siteRoot/patest/patest.css.rails" />
+<div class="patest">
+<h1>Portable Areas Example</h1>
+${childContent}
+<hr />
+<a href="page1.rails">Page one</a> <a href="page2.rails">Page
two</a> <a href="page3.rails">Page three</a>
+</div>
Directory:
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/layouts/
====================================================================================
File [added]: patest.vm
Delta lines: +3 -0
===================================================================
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page1.vm
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page1.vm
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,3 @@
+<h2>This is Page One</h2>
+<img src="${siteRoot}/patest/autolist.png.rails" />
+This is a example of a Portable Area.
Directory:
/viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/
===================================================================================
File [added]: page1.vm
Delta lines: +4 -0
===================================================================
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page2.vm
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page2.vm
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,5 @@
+<h2>This is Page Two</h2>
+
+<p>This is the standard from the assembly.</p>
+
File [added]: page2.vm
Delta lines: +2 -0
===================================================================
---
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page3.vm
(rev 0)
+++
viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest/page3.vm
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,2 @@
+<h2>This is Page Three</h2>
+<p>The Time is now ${DateTime.Now.ToString()}</p>
File [added]: page3.vm
Delta lines: +9 -0
===================================================================
--- viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest.css
(rev 0)
+++ viewcomponents/trunk/Castle.MonoRail.PortableAreaExample-vs2008/patest.css
2010-04-01 22:13:32 UTC (rev 718)
@@ -0,0 +1,9 @@
+.patest h1
+{
+ background-color:Silver;
+}
+
+.patest h2
+{
+ font-style:italic;
+}
--
You received this message because you are subscribed to the Google Groups
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-commits?hl=en.