You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2006/08/15 09:18:19 UTC
Re: svn commit: r431376 - in /lenya/trunk/src/modules/sitetree: java/src/org/apache/lenya/cms/cocoon/generation/SitetreeFragmentGenerator.java
java/src/org/apache/lenya/cms/site/tree/DefaultSiteTree.java resources/javascript/navtree.js
sitemap.xmap
Joern Nettingsmeier wrote:
> andreas@apache.org 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
andreas.hartmann@wyona.com andreas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: svn commit: r431376 - in /lenya/trunk/src/modules/sitetree: java/src/org/apache/lenya/cms/cocoon/generation/SitetreeFragmentGenerator.java
java/src/org/apache/lenya/cms/site/tree/DefaultSiteTree.java resources/javascript/navtree.js
sitemap.xmap
Posted by Joern Nettingsmeier <po...@uni-due.de>.
Andreas Hartmann wrote:
> Joern Nettingsmeier wrote:
>> andreas@apache.org 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.
i see. thanks for explaining.
>>> - <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.
ah, ok.
--
"I don't need backups. I need restore!" - Trad.
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org