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/07/11 15:55:23 UTC

svn commit: r210133 - in /lenya/trunk/src/publets: links/config/menu.xsp links/config/publet.xconf xhtml/config/publet.xconf

Author: andreas
Date: Mon Jul 11 06:55:22 2005
New Revision: 210133

URL: http://svn.apache.org/viewcvs?rev=210133&view=rev
Log:
Use complete URIs as resource type sample locations. This separates resource types totally from publets (SoC)

Modified:
    lenya/trunk/src/publets/links/config/menu.xsp
    lenya/trunk/src/publets/links/config/publet.xconf
    lenya/trunk/src/publets/xhtml/config/publet.xconf

Modified: lenya/trunk/src/publets/links/config/menu.xsp
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/publets/links/config/menu.xsp?rev=210133&r1=210132&r2=210133&view=diff
==============================================================================
--- lenya/trunk/src/publets/links/config/menu.xsp (original)
+++ lenya/trunk/src/publets/links/config/menu.xsp Mon Jul 11 06:55:22 2005
@@ -38,7 +38,7 @@
     <menus>
       <menu i18n:attr="name" name="File">
         <block>
-          <item uc:usecase="site.create" href="?doctype=xhtml"><i18n:text>New Links Document</i18n:text></item>
+          <item uc:usecase="site.create" href="?doctype=links"><i18n:text>New Links Document</i18n:text></item>
         </block>
       </menu>
       

Modified: lenya/trunk/src/publets/links/config/publet.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/publets/links/config/publet.xconf?rev=210133&r1=210132&r2=210133&view=diff
==============================================================================
--- lenya/trunk/src/publets/links/config/publet.xconf (original)
+++ lenya/trunk/src/publets/links/config/publet.xconf Mon Jul 11 06:55:22 2005
@@ -22,9 +22,9 @@
   <component-instance name="links"
                       logger="lenya.resourcetypes.links"
                       class="org.apache.lenya.cms.publication.ResourceTypeImpl">
-    <schema src="fallback://lenya/resources/schemas/links.rng"/>
+    <schema src="fallback://lenya/publets/links/schema/links.rng"/>
     <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
-      <sample-name>links.xml</sample-name>
+      <sample-name>fallback://lenya/publets/links/samples/links.xml</sample-name>
     </creator>
   </component-instance>
 

Modified: lenya/trunk/src/publets/xhtml/config/publet.xconf
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/publets/xhtml/config/publet.xconf?rev=210133&r1=210132&r2=210133&view=diff
==============================================================================
--- lenya/trunk/src/publets/xhtml/config/publet.xconf (original)
+++ lenya/trunk/src/publets/xhtml/config/publet.xconf Mon Jul 11 06:55:22 2005
@@ -24,7 +24,7 @@
                       class="org.apache.lenya.cms.publication.ResourceTypeImpl">
     <schema src="fallback://lenya/resources/schemas/xhtml.rng"/>
     <creator src="org.apache.lenya.cms.authoring.DefaultBranchCreator">
-      <sample-name>xhtml.xml</sample-name>
+      <sample-name>fallback://lenya/publets/xhtml/samples/xhtml.xml</sample-name>
     </creator>
     <link-attribute xpath="//*[namespace-uri() = 'http://www.w3.org/1999/xhtml']/@href"/>
   </component-instance>



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