You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cd...@apache.org on 2007/03/14 16:22:34 UTC

svn commit: r518179 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft

Author: cdupoirieux
Date: Wed Mar 14 08:22:33 2007
New Revision: 518179

URL: http://svn.apache.org/viewvc?view=rev&rev=518179
Log:
Update of the old usage.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft?view=diff&rev=518179&r1=518178&r2=518179
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.themes.core/themes/common/html/content-abstract.ft Wed Mar 14 08:22:33 2007
@@ -22,13 +22,7 @@
   <description>
     content-abstract will output the abstract of the content. 
   </description>
-  <usage><![CDATA[<forrest:contract name="content-abstract">
-  <forrest:properties contract="content-abstract">
-    <forrest:property name="content-abstract" nugget="get.body">
-      <jx:import uri="cocoon://#{$cocoon/parameters/getRequest}.abstract.xml"/>
-    </forrest:property>
-  </forrest:properties>
-</forrest:contract>]]></usage>
+  <usage><![CDATA[<forrest:contract name="content-abstract" dataURI="cocoon://#{$getRequest}.abstract.xml"/>]]></usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
     name="content-abstract" inputFormat="xsl" >
      <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
@@ -45,4 +39,4 @@
       </xsl:template>
 	  </xsl:stylesheet>
   </forrest:template>
-</forrest:contract>
\ No newline at end of file
+</forrest:contract>