[Announcement] New free DateChooserBean!

A full featured replacement “Servoy-aware” bean for the fields of type “CALENDAR”, compatible Servoy 4.1.x Developer, Smart client AND Web client. It’s free (LGPL license) and comes with full sources as an Eclipse project.

It looks like this in the Smart client:
[attachment=2]DateChooserBean.gif[/attachment]

And looks (and acts) the same as the regular calendar field in Web client.

You have basically the same kind of properties as the regular field:
[attachment=1]DateChooserProperties.gif[/attachment]

And it’s scriptable just the same:
[attachment=0]DateChooserScripting.gif[/attachment]

You can find it and more on this brand new Servoy related website:
http://www.servoy-stuff.net/
Check it out!

To try it is to adopt it ;-)

Thank you Paul, that looks great - can’t wait to give it a try!

It is great!
Can we skin it?
Are you able to add the time selector as well (for the same date)?
Keep up the good work!

Thomas Parry:
It is great!
Can we skin it?
Are you able to add the time selector as well (for the same date)?
Keep up the good work!

Hi Tom, the Time selector is on its way.
Should be there this evening or tomorrow.

As for skinning, the JCalendar lib that I’m relying on is using the current L&F, but there is no skinning.
I will see how easily (or not) it can be integrated.

But you will get the Time selector way before :)

Hi Tom and all,

I have added someTime controls to the DateChooserBean v1.0.2, so basically all you have to do is feed it with your format and it will recognize if it needs to use Time controls or not (and which ones). There is also support for AM/PM - 12/24 hours systems.
It looks like this now:
[attachment=0]datechooserbeanswing.gif[/attachment]

You can download it on the Servoy Stuff site:
http://www.servoy-stuff.net/

That looks great,

And chance of a version for Servoy 3.5 ?

wvitpr:
That looks great,

And chance of a version for Servoy 3.5 ?

Unfortunately no. I’ve build this integration over the new API like the new IServoyAwareBean and IRecord interfaces, without them I have no access to the current record.

Unless the javadocs are wrong for 3.5.x, in which case it might work. What you can do is try it, it won’t harm!

Note to the Servoy Team: some interfaces only appear in the 4.2.x API, while they are already there in the jar of 4.1.2 and 4.1.3.
So there is something wrong in the javadocs for 4.1.x

Anyway Philip, if you are looking for a Calendar, you can still use the JCalendar library as a regular bean (you will have to script it yourself though), it is downloadable on the www.toedter.com web site.

Many thanks

I will have a look

Regards