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 have:
<node id="index"/>
and everything is expected to be html/xml.

Now I cannot take this assumption anymore since the ending depends on
the request. 

How can I extend this?

I tried with <node id="index.html"/> but that was not working because it
strips everything after it finds a ".".

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


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

Reply via email to