You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2005/06/15 02:53:53 UTC

svn commit: r190683 - in /forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya: ./ index.fv

Author: thorsten
Date: Tue Jun 14 17:53:52 2005
New Revision: 190683

URL: http://svn.apache.org/viewcvs?rev=190683&view=rev
Log:
activated the contract but had to use a different input site. the requested index.html is not published. Besides it shows how to include arbitary content into the view.

Added:
    forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/
    forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv   (with props)

Added: forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv
URL: http://svn.apache.org/viewcvs/forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv?rev=190683&view=auto
==============================================================================
--- forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv (added)
+++ forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv Tue Jun 14 17:53:52 2005
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2002-2004 The Apache Software Foundation or its licensors,
+as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0" >
+    <forrest:view type="xhtml">
+        <forrest:css url="default.css"/>
+        <forrest:contract name="meta"/>
+        <forrest:hook name="container">
+            <forrest:hook name="header">
+              <forrest:contract name="branding-tagline">
+		            <forrest:properties contract="branding-tagline">
+								  <forrest:property name="branding-tagline-name">new seed</forrest:property>
+		              <forrest:property name="branding-tagline-tagline">powered by forrest:views</forrest:property>
+								 </forrest:properties>
+		          </forrest:contract>
+              <forrest:contract name="nav-main"/>
+            </forrest:hook>
+            <forrest:hook name="page">
+                <forrest:hook name="leftbar">
+                    <forrest:contract name="nav-section"/>
+                    <forrest:contract name="search-input"/>
+                </forrest:hook>
+                <forrest:hook name="export-link">
+                    <forrest:contract name="content-txt-link"/>
+                    <forrest:contract name="content-pdf-link"/>
+                </forrest:hook>
+                <forrest:hook name="content">
+                    <!--<forrest:contract name="content-title"/>-->
+                    <forrest:contract name="content-abstract"/>
+                   <!-- <forrest:contract name="content-minitoc"/>-->
+                    <forrest:contract name="content-main-lenya">
+										  <forrest:properties contract="content-main-lenya">
+										    <forrest:property name="content-main-lenya" 
+										      nugget="get.nugget.lenya.content.main">
+										      <url>lenya/test.xml</url>
+										    </forrest:property>
+										  </forrest:properties>
+										</forrest:contract>
+<forrest:hook name="debug">
+<forrest:contract name="content-main-lenya">
+										  <forrest:properties contract="content-main-lenya">
+										    <forrest:property name="content-main-lenya" 
+										      nugget="get.nugget.lenya.content.main">
+										      <url>lenya/index.xml</url>
+										    </forrest:property>
+										  </forrest:properties>
+										</forrest:contract>
+</forrest:hook>
+                </forrest:hook>
+            </forrest:hook>
+        </forrest:hook>
+        <forrest:hook name="footer">
+            <forrest:contract name="siteinfo-feedback"/>
+            <forrest:contract name="siteinfo-last-published"/>
+        </forrest:hook>
+    </forrest:view>
+</forrest:views>

Propchange: forrest/branches/locationmap_branch/main/fresh-site/src/documentation/content/xdocs/lenya/index.fv
------------------------------------------------------------------------------
    svn:eol-style = native