Joern Nettingsmeier wrote:
[EMAIL PROTECTED] wrote:
Author: andreas
Date: Mon Aug 14 09:22:40 2006
New Revision: 431376

URL: http://svn.apache.org/viewvc?rev=431376&view=rev
Log:
Renamed documentId to path in sitetree fragment generator and DefaultSiteTree

how can these be equivalent? since we have flat storage, the uuid is
orthogonal to the sitetree layout, right?

The former document ID (/foo/bar/baz) is now called path, because
it is the same string as the path of the document node in the site structure.


Modified: lenya/trunk/src/modules/sitetree/sitemap.xmap
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/modules/sitetree/sitemap.xmap?rev=431376&r1=431375&r2=431376&view=diff
==============================================================================
--- lenya/trunk/src/modules/sitetree/sitemap.xmap (original)
+++ lenya/trunk/src/modules/sitetree/sitemap.xmap Mon Aug 14 09:22:40 2006
@@ -124,7 +124,7 @@
         <map:generate type="sitetree-fragment">
           <map:parameter name="areas" value="{request-param:areas}"/>
           <map:parameter name="area" value="{request-param:area}"/>
-          <map:parameter name="uuid" value="{page-envelope:document-uuid}"/>
+          <map:parameter name="path" value="{request-param:path}"/>

do i understand correctly that this is a change in sematics, not a
simple rename?

Actually I just changed it back, I had changed it from document-id
to document-uuid before which was wrong since the sitetree is based
on paths and not UUIDs.

Thanks for commenting this!

-- Andreas


--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to