cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <dho...@csir.co.za>
Subject [SOLVED] Re: File checking in the sitemap
Date Thu, 08 Sep 2005 10:43:31 GMT
Yes -  when I read the docs for the ResourceExistsSelector  it
seemed to be exactly what I wanted (still must try and write a 
small sample, though).

Yet again, Cocoon "knows what I want" before I even get there!

Thanks for the helpful pointers.

>>> joerg.heinicke@gmx.de 2005/09/08 12:24:15 PM >>>
On 08.09.2005 11:44, Bart Molenkamp wrote:

> I don't think that this selector will always work. Maybe for files, but
> other sources (such as cocoon://) always return true on Source.exists().

Derek only wants to check for file existence, so that's no problem. He 
only wants to react with different sources like internal pipelines. 
ResourceExistsSelector or ResourceExistsActions are valid for this use case.

Jörg

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



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


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


Mime
View raw message