cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: cache thoughts
Date Thu, 24 Feb 2000 14:45:21 GMT
Mike Engelhart wrote:
> 
> Stefano Mazzocchi wrote:
> 
> > Mike Engelhart wrote:
> >>
> >> Stefano Mazzocchi wrote:
> >>> Answer: write your own producer and implement the "hasChanged()" method,
> >>> with the logic you want.
> >> All my producers are XSP's. Can I add this to my XSP page??
> >> <xsp:logic>
> >> public boolean hasChanged()
> >> {
> >> return someBoolean;
> >> }
> >> </xsp:Logic>
> >>
> >> ???
> >
> > You bet :)
> >
> 
> Well, I just added this to the top level of one of my XSP pages and removed
> the repository to make sure it was loaded in.
> 
>     <xsp:logic>
>         public boolean hasChanged(Object request)
>         {
>             System.out.println("Entering hasChanged()...");
>             return false;
>         }
>     </xsp:logic>
> 
> This never gets called though.  What am I missing?

BUG!!!!!

This is why I don't like the way the XSP processor fakes the pipeline...
too many things gets duplicated and missed during the thing....

The improved Cocoon2 pipeline will dynamically greated generators fix
this automatically.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Come to the first official Apache Software Foundation Conference!  
------------------------- http://ApacheCon.Com ---------------------

Mime
View raw message