Yeap:
 
#tag(TextField "label=personal.birthDate" "value=personal.birthDate" "value=personal.birthDate")
 
I've put a breakpoint in mine and xwork's date converters, and none of them gets called, and this ends up in the presentation instead:
 
Wed May 16 00:00:00 GMT-03:00 2001
 
Any ideas? Should I change the template to explicitly call the Type Converter(s)?
 
peace,
-cv
 
 -----Mensagem original-----
De: Jason Carreira [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 16 de outubro de 2003 10:43
Para: [EMAIL PROTECTED]
Assunto: RE: [OS-webwork] Type Converetrs and formatting

How are you outputting the value to the page? Using the WW2 tags?

 

-----Original Message-----
From: Anoop Ranganath [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Type Converetrs and formatting

 

I'm having this same issue, so I'd like to know what I'm doing wrong also.

 

Anoop

 

On Wednesday, October 15, 2003, at 05:43 PM, [EMAIL PROTECTED] wrote:

 

Hi y'all! :)

 

Does it make sense that the type converters are not being called to convert fields back into their String (presentation) format? I'm trying to use a Date converter which respects the brazilian time formats (dd/MM/yyyy), and while conversion from String to Date works ok, the Date to String conversion is not being handled by the type converter itself (maybe the TextField tag is just letting Velocity call toString() whenever appropriate). How could I fix that?

 

peace,

-cv

 

Reply via email to