Hi,

as far as I understand the documentation [1], the <datetimepicker />
has no format attribute, so I wonder how your JSP gets compiled. Are
you looking for the displayFormat attribute?

The error from your first mail suggests an error either in the type
conversion or in general with the OGNL expression. Type conversion
concerning dates gets tricky, as the XWorkBasicConverter[2] expects
your date to be formatted in either the short, medium or long format
of the locale set for the request (either the browsers' locale or
hard-wired in struts.properties), or in rfc3339 [3] format. If your
date is not in one of these formats, the conversion obviously fails.

Cheers,
-Ralf

[1] http://struts.apache.org/2.x/docs/datetimepicker.html
[2] 
http://www.opensymphony.com/webwork/api/com/opensymphony/xwork/util/XWorkBasicConverter.html
[3] http://www.ietf.org/rfc/rfc3339.txt


On Tue, May 20, 2008 at 5:23 PM, Milan Milanovic
<[EMAIL PROTECTED]> wrote:
> I'm not sure if this is a problem. I switched my browser only to US
>  locale language and also in regional options and it is the same! I think
>  that is some conversion problem from jsp page to Date in version
>  2.0.11.1.
>
>  Regards, Milan
>
> Ian Meikle <[EMAIL PROTECTED]> wrote:  I have had the same problem.
> I assume you are not using an US locale in your client browser.
> We use Norwegian and German and it does not work.
>
> Regards
> Ian
>
> CSC Solutions Norge AS
> Registered Office: SandsliƄsen 57, 5254 Sandsli, Norway
> Registered in Norway No: 958 958 455
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to