svn commit: r565519 - in /lenya/trunk/src/modules/resource: config/cocoon-xconf/usecase-create-resource.xconf usecases/create-resource.jx

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rfrovarp
Date: Mon Aug 13 14:04:04 2007
New Revision: 565519

URL: http://svn.apache.org/viewvc?view=rev&rev=565519
Log:
Now looks like all the other create usecases: no menu, wrapped in the standard usecase template.

Modified:
    lenya/trunk/src/modules/resource/config/cocoon-xconf/usecase-create-resource.xconf
    lenya/trunk/src/modules/resource/usecases/create-resource.jx

Modified: lenya/trunk/src/modules/resource/config/cocoon-xconf/usecase-create-resource.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/resource/config/cocoon-xconf/usecase-create-resource.xconf?view=diff&rev=565519&r1=565518&r2=565519
==============================================================================
--- lenya/trunk/src/modules/resource/config/cocoon-xconf/usecase-create-resource.xconf (original)
+++ lenya/trunk/src/modules/resource/config/cocoon-xconf/usecase-create-resource.xconf Mon Aug 13 14:04:04 2007
@@ -20,6 +20,6 @@
     <component-instance name="resource.create" 
                         logger="lenya.site" 
                         class="org.apache.lenya.cms.site.usecases.CreateResource">
-      <view template="modules/resource/usecases/create-resource.jx" menu="true"/>
+      <view template="modules/resource/usecases/create-resource.jx"/>
     </component-instance>
   </xconf>

Modified: lenya/trunk/src/modules/resource/usecases/create-resource.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/resource/usecases/create-resource.jx?view=diff&rev=565519&r1=565518&r2=565519
==============================================================================
--- lenya/trunk/src/modules/resource/usecases/create-resource.jx (original)
+++ lenya/trunk/src/modules/resource/usecases/create-resource.jx Mon Aug 13 14:04:04 2007
@@ -22,7 +22,11 @@
   xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0"
   xmlns="http://www.w3.org/1999/xhtml"
   xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
-  
+
+  <page:title>
+     <i18n:text>New Document of type: Media</i18n:text>
+  </page:title>
+
   <page:body>
     <div class="lenya-box">
     <div class="lenya-box-title">
@@ -56,4 +60,4 @@
     </div>
     </div>
   </page:body>
-</page:page>
\ No newline at end of file
+</page:page>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.