You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/08/10 11:49:45 UTC

svn commit: r231205 - /lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml

Author: andreas
Date: Wed Aug 10 02:49:40 2005
New Revision: 231205

URL: http://svn.apache.org/viewcvs?rev=231205&view=rev
Log:
Updated usecase framework template definition docs

Modified:
    lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml

Modified: lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml
URL: http://svn.apache.org/viewcvs/lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml?rev=231205&r1=231204&r2=231205&view=diff
==============================================================================
--- lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml (original)
+++ lenya/docu/src/documentation/content/xdocs/1_4/reference/usecase-framework/index.xml Wed Aug 10 02:49:40 2005
@@ -261,7 +261,7 @@
             to the user. The view is declared in the usecase configuration:
           </p>
 <source xml:space="preserve"><![CDATA[  <component-instance ...>
-    <view template="article/editHeadline" menu="false">
+    <view template="usecases/article/editHeadline.jx" menu="false">
       <parameter name="title" value="Edit Headline"/>
       <parameter name="..." value="..."/>
     </view>
@@ -281,8 +281,8 @@
         <p>
           The view for a usecase is implemented using a JX template. The location of the
           JX template is defined using the <code>&lt;view&gt;</code> element's <code>template</code>
-          attribute (relatively to the <code>usecases</code> directory, the suffix <code>.jx</code>
-          is appended). The output of the view has to be a Lenya page:
+          attribute (relatively to the <code>context://lenya</code> directory).
+          The output of the view has to be a Lenya page:
         </p>
 <source xml:space="preserve"><![CDATA[<page:page
   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org