forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r159132 - forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap
Date Sun, 27 Mar 2005 01:01:04 GMT
Author: thorsten
Date: Sat Mar 26 17:01:04 2005
New Revision: 159132

URL: http://svn.apache.org/viewcvs?view=rev&rev=159132
Log:
Added ls support for project specific implementation of contracts.

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap?view=diff&r1=159131&r2=159132
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.views/output.xmap Sat Mar 26 17:01:04
2005
@@ -127,7 +127,18 @@
       <map:serialize type="xml"/>
     </map:match>
   </map:pipeline>
-
+<!-- ls.fbits 
+  list the default fbits-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts.project">
+		  <map:generate type="directory" src="{project:resources}/templates/">
+        <map:parameter name="depth" value="1"/>
+        <!-- sorted alphabetically -->
+      	<map:parameter name="reverse" value="false"/>
+      </map:generate>
+      <map:serialize type="xml"/>
+    </map:match>
+  </map:pipeline>
 <!--ls.fbits.l
 transform this dir-list and add more information 
 -->
@@ -141,8 +152,19 @@
       <map:serialize type="xhtml"/>
     </map:match>
   </map:pipeline>
-
-
+<!--ls.fbits.l
+transform this dir-list and add more information 
+-->
+  <map:pipeline>
+    <map:match pattern="ls.contracts.project.l">
+		  <map:generate src="cocoon:/ls.contracts.project"/>
+      <map:transform src="resources/stylesheets/ls.contracts.xsl">
+        <map:parameter name="contentDir" value="{forrest:plugins}/org.apache.forrest.plugin.views"/>
+      </map:transform>
+      <map:transform src="resources/stylesheets/ls.contracts.html.xsl"/>
+      <map:serialize type="xhtml"/>
+    </map:match>
+  </map:pipeline>
    <!--
     Get some util-templates from the common skin.
     -->



Mime
View raw message