Jörn Nettingsmeier schrieb:
> hi *!
> 
> in
> src/java/org/apache/lenya/cms/publication/templating/ExistingUsecaseResolver.java
>  , i see this:

[...]

> a) does this code ever do anything? iiuc we don't have <usecases/> or
> <usecase> elements in publication.xconf.

The class was obsolete, I removed it.
Thanks for the pointer.

> b) is it ok to parse publication.xconf in more than one java class, or
> had we better handle everything in PublicationConfiguration ?

Basically everything should be done in PublicationConfiguration.
An exception would be composition, then it would make sense to pass
a configuration snippet to a different component (e.g. the path mapper).

-- Andreas


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

Reply via email to