Re: dojo 1.0 DateTextBox and ISO-8601

2008-01-30 Thread Roberto Nunnari
Hi Jeromy. Jeromy Evans wrote: Hi Roberto, This is precisely what a custom type-converter is for: http://struts.apache.org/2.x/docs/type-conversion.html It accepts a string and converts to an object, and vice versa. It's invoked by the conversion interceptor. I'm going to implement a conv

Re: dojo 1.0 DateTextBox and ISO-8601

2008-01-29 Thread Jeromy Evans
Hi Roberto, This is precisely what a custom type-converter is for: http://struts.apache.org/2.x/docs/type-conversion.html It accepts a string and converts to an object, and vice versa. It's invoked by the conversion interceptor. However, I thought the default Date converter is already setup

dojo 1.0 DateTextBox and ISO-8601

2008-01-29 Thread Roberto Nunnari
Hi. I have a form that posts to a ModelDriven Action. In that form I'm trying to use raw dojo 1.0 DateTextBox, but I have trouble with the formatting of the date.. According to the dojo docs, when communicating to/from the server, it uses ISO-8601. As java.util.Date doesn't know how to parse ISO