On Thursday 23 May 2002 09:42 pm, Ovidiu Predescu wrote:
> On Thu, 23 May 2002 21:10:01 -0400, Peter Royal <proyal@apache.org> wrote:
> > On Thursday 23 May 2002 08:59 pm, Ovidiu Predescu wrote:
> > > It appears the getLastModified() method doesn't work for file:
> > > URLs. Seems like the Source is caching this information and always
> > > returns the same time stamp, without bothering to check the actual
> > > file. Any ideas what's going on?
> >
> > You need to call discardValidity() to refresh.
>
> But Cocoon's Source interface doesn't have such a method. What's the
> solution then?
Sorry, I thought you were using the new Avalon Excalibur source resolver.
(source-factories component in cocoon.xconf)
-pete
--
peter royal -> proyal@managingpartners.com
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
|