Thorsten Scherler wrote:
El mié, 22-02-2006 a las 13:36 +0100, Andreas Hartmann escribió:
Thorsten Scherler wrote:
[...]
I found 2 references to "index" as prefix for the mapping:
- DocumentHelper.java
Really? This is knowledge duplication and should be removed.
The same applies to the DocumentReferencesHelper.
- DefaultDocumentIdToPathMapper.java
This should be the only place where the mapping happens.
So for my first tests about changing the mapping I will create my own
implemetations of this (at least) two classes in my pub, right?
You have to implement your own DocumentIdToPathMapper and
declare it in publication.xconf.
Ok, I am debbuging ATM my custom implementation and am wondering how I
can extend the docID with the extension.
I'm afraid this won't work without changing the API.
The DocumentIdToPathMapper would have to take the document
as a parameter, this way it could take the resource type
into account.
-- 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]