forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ferdin...@apache.org
Subject svn commit: r348893 - in /forrest/trunk/main/fresh-site/src/documentation/content/xdocs: samples/showonlywhenselected/ samples/showonlywhenselected/page1.xml samples/showonlywhenselected/page2.xml site.xml
Date Fri, 25 Nov 2005 06:34:10 GMT
Author: ferdinand
Date: Thu Nov 24 22:33:58 2005
New Revision: 348893

URL: http://svn.apache.org/viewcvs?rev=348893&view=rev
Log:
Adding demo pages for new scales features

Added:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page1.xml
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page2.xml
Modified:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page1.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page1.xml?rev=348893&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page1.xml
(added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page1.xml
Thu Nov 24 22:33:58 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 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.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+      <title>ShowWhenSelected-Demo, Startpage</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Always Visible</title>
+      <note>This feature requires the use of the 'scales'-skin. Used in any other skin,
both pages will show normally.</note>  
+        
+      <p>This page is always visible and just another Forrest document.</p>
+      <p>The link below (please read on!) opens the second page of this demo.</p>
+        <p>It is also referenced in site.xml, but, because if the type-attribute "showWhenSelected",
it will not
+            normally appear on the menu. Unless you follow the <a href="page2.html">link</a>
and select it.</p>
+    </section>
+  </body>
+</document>

Added: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page2.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page2.xml?rev=348893&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page2.xml
(added)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples/showonlywhenselected/page2.xml
Thu Nov 24 22:33:58 2005
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 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.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+      <title>ShowWhenSelected-Demo, Linked Page</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Conditionally visible</title>
+        <note>This feature requires the use of the 'scales'-skin. Used in any other
skin, both pages will show normally.</note>  
+      <p>This page will only become visible on the menu when it is already the current
page. Since it doesn't normally
+          appear on the menu, this can only happen, if  you link to it from another page
or from another site.</p>
+        <p>Open another page by menu-selection or follwing a <a href="page1.html">link</a>
to make this page disappear from this menu.</p> 
+    </section>
+  </body>
+</document>

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml?rev=348893&r1=348892&r2=348893&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/site.xml Thu Nov 24 22:33:58
2005
@@ -81,6 +81,10 @@
       <index label="Index" href="index.html" description="Page generated from a
         sub-directory"/>
     </subdir>
+      <showonlywhenselected label="Conditional display of menuitems" href="showonlywhenselected/">
+          <page1 label="Always visible page" href="page1.html"/>
+          <page2 label="Visible only when current" href="page2.html" type="showWhenSelected"/>
   
+      </showonlywhenselected>  
   </samples>
   <plugins label="Plugins" href="pluginDocs/plugins_0_70/" tab="plugins">
     <index label="Index" href="index.html" description="List of plugins



Mime
View raw message