cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jos Snellings <Jos.Snelli...@pandora.be>
Subject Re: Writing generator / Cocoon3 alpha
Date Sat, 06 Mar 2010 06:21:53 GMT
Johannes, you need one or two things beside the code of the generator.
- first, how is it invoked? Can you send the fragment of your
sitemap.xmap that matches an url supposed to invoke this generator?
- second, is there a line in sitemap-components that defines this
generator?

Best,
Jos

On Sat, 2010-03-06 at 03:40 +0100, Johannes Lichtenberger wrote:
> Hi,
> 
> I've got a (maybe rather simple) problem, but somehow the
> exectute()-method isn't going to be invoked. I can see, that my
> generator is, because I simply created a static-Block with a sysout
> statement.
> 
> But
> 
>   /**
>    * {@inheritDoc}
>    */
>   public void execute() {
>     try {
>       System.out.println("blaaaaaa");
>       ...
> 
> "blaaaaaa" isn't printed on STDOUT :-/ (Jap, I know, I'll use the logger
> for further debugging ;-)
> 
> Do you have any idea? The "definition" of the class is:
> 
> public class SAXGenerator extends AbstractSAXGenerator implements
> CachingPipelineComponent
> 
> greetings,
> Johannes
> 
> p.s.: I wonder why you have abstract classes which define nothing at all
> like AbstractSAXGenerator and AbstractSAXPipelineComponent.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message