cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist>
Subject Re: formatting problems with dates in flow-jxpath selection-list
Date Wed, 19 Jul 2006 22:18:08 GMT

On Jul 19, 2006, at 8:54 AM, Simone Gianni wrote:

> As you can see you are using the Date object both as value and as  
> label,
> the convertor only works on the value, you have to format the label
> yourself in javascript. This can be accomplished in many ways, I can't
> remember which facilities javascript offers

I don't think it does... AFAIK you have to use Java.

>  but alternatively you can
> use the common java SimpleDateFormat simply instantiating it with var
> formatter = new'dd.MM.yy'); and
> then using as it java, formatter.format(element) IIRC.

I default to FastDateFormat from Commons: 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message