cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: cache thoughts
Date Thu, 24 Feb 2000 14:36:55 GMT
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?

mike


Mime
View raw message