cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: Garbage or The Quest for the Perfect Template Language
Date Tue, 05 Aug 2003 17:30:21 GMT
Nicola Ken Barozzi wrote:
> Seems like it should be
> 
>   format(java.text.SimpleDateFormat.new("dd/MM/yyyy"), someDate)

Close but no cigar:

org.apache.commons.jxpath.JXPathException: Cannot invoke public final 
java.lang.String java.text.Format.format(java.lang.Object); Cannot 
format given Object as a Date

	:-(

		Ugo


-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


Mime
View raw message