Hi,

I've tried <s:datepicker/> tag in my JSP.
It's really a cool tag which render a date selection javascript control.
But I have some quetsions about this tag:

1. Can I select date and time simultaneously in one datepicker control?
Currently I map a date property in action to 2 separate datepicker in JSP:
one is for date, and the other is for time.

2. Can I select second in datepicker?

3. When I first use datepicker tag in my JSP, I encounterred a type
conversion problem.
I got an error message like this:

ERROR - ParametersInterceptor
   - ParametersInterceptor - [setParameters]:
     Unexpected Exception catched:
     Error setting expression 'userData.createDate' with value
'[Ljava.lang.String;@16b7f83'


It was solved by writing an type converter and configured in
xwork-conversion.properties.
But I saw the document says that date converter is provided by struts2, we
don't need to configure it manually.
Is this problem caused by locale? I am using traditional Chinese (zh_TW).

Thanks!

Reply via email to