cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [RT] Flow as a block
Date Wed, 19 Mar 2003 09:10:07 GMT
Sylvain Wallez wrote:
>
> But won't work :-(
>
:)

> Why ? Well, yes, a sitemap element = a builder class. But the
> configuration file that defines them is used to feed a
> ComponentSelector, which will try to load the class and the result is
> that you will get an Exception in the initialization phase of the
> TreeProcessor...
>
> The only viable solution is for the declaration to be _not present_ in
> the treeprocessor configuration.
>
This is not the best solution, as it would required to change the
treeprocessor conf for adding/removing flow.

Could the treeprocessor check the availability of a class before feeding
it into the selector? If the class is not available, a dummy implementation
could be perhaps added that could - when used - throw a meaningfull
exception.

Carsten



Mime
View raw message