Andreas Hartmann wrote:

Michael Wechner wrote:

Hi

I am currently trying to use a different Path structure for the default publication, something like

LANGUAGE/foo/bar.xml

instead of

foo/bar/index_LANGUAGE.xml

which works so far good if I customize the DocumentToPathMapper, but during Document creation I run into trouble and it seems there is something else I need to change beside the DocumentToPathMapper.


That looks like a bug, maybe there's a hard-coded index_{language}
somewhere.


yes, within src/java/org/apache/lenya/cms/authoring/DefaultBranchCreator.java

I will replace this by the DocumentIdToPathMapper, whereas I will need to add a method with the publication as additional argument and will deprecate the current method.

This way it should stay backwards compatible.

Thanks

Michi

What exactly is the problem you're running into?

-- Andreas


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




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

Reply via email to