forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r190165 - /forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml
Date Sat, 11 Jun 2005 19:09:02 GMT
Author: thorsten
Date: Sat Jun 11 12:09:00 2005
New Revision: 190165

URL: http://svn.apache.org/viewcvs?rev=190165&view=rev
Log:
Further written the dsl howto till section css which will be next.

Modified:
    forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml

Modified: forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml?rev=190165&r1=190164&r2=190165&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs/howto/howto-view-dsl.xml Sat Jun 11 12:09:00
2005
@@ -183,9 +183,19 @@
       </source>
       <p>
         With this information we know to use <code><![CDATA[<forrest:hook name="leftbar"/>]]></code>

-        and add contracts into that container. If we want to put a contract into the left
side position
+        and add contracts into that container. 
+      </p>
+      <p>
+        If we want to put the nav-section contract into the left side position
         of the site we need to place the contract into that hook. Like:
-      </p>  
+      </p> 
+      <source><![CDATA[<forrest:hook name="leftbar">
+  <forrest:contract name="nav-section"/>
+</forrest:hook>]]>
+			</source>
+      <p>
+        Our view will then look like:
+      </p>
       <source><![CDATA[<forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0"
>
   <forrest:view type="xhtml">
     <forrest:hook name="leftbar">



Mime
View raw message