Is there any widget to select the date and also the time?

With the default date widget you can only select the date but you can not select the time. Is there any widget in any version of VCM or CCE's that lets you select also the time?

Thanks!!!

Widget to select date and time

I don't think there is a widget available to select both date and time. This kind of widget is not availble out of the box. You can develop a custom widget which meets your needs of selecting date as well as time.

Re: Widget to select date and time

I am developing a new widget to select the date and the time but I have a problem.

I am able to display a text input and a javascript calendar to select the date and the time, when I select the date and time it appears in the text input right, but when I save the content the time disappears. Where could I see or change the class where VCM parses the string date to a Date or long to store in the database?

Thank you very much for this fantastic web!

Re: Widget to select date and time

You can look at the Type Def. Java class of the Content Type Definition. In order to do this, you need to write your own Type Def. Java class.

 You may need to override Content Editor JSP also for the same Content Type Definition. Find these two items under the General tab of the Content Type Definition.

Re: Widget to select date and time

Yes, but I wanted this widget to work with the default jsp and the default Type Def. Java class.
For instance, if a user wanted to set a custom jsp for a Content Type, this widget will stop working.

Thanks

Re: Widget to select date and time

And does anybody knows in what class or jsp does vignette transforms the date string to a Date or long?
Thanks!