Neil's Place

July 26, 2006

11:06 PM Numbers, times and dates

I'm currently working on adding date and time pickers to XUL. There have been a number of attempts at this (there are actually at least three calendar widgets in the Mozilla source) so I started by building on top of these. Now, however, the code doesn't look anywhere near the same, but the widgets are more complete I think.

The date picker comes in several varieties, for direct entry using textboxes, a grid and a combination entry and popup grid. I decided not to have a popup time picker and to just have the entry type. The image also includes a number entry box.

On the unrelated to Mozilla side, if you happen to be in the Toronto area on Monday July 31 and have nothing to do, yet want to be entertained with wild and crazy comedy, you're in luck. You would want to attend the second showing of Da Tory Code, co-written by me, Neil Deakin. The first showing has received rave reviews from real life members of parliament, so you know you won't be disappointed. Also, it's free, so what more could you ask for?

Comments ( 13 )

July 13, 2006

3:38 PM XML Templates

Just added support for spinbuttons, a widget for the arrows to adjust a numeric value. This will used for widgets for selecting numbers and times, which will also be coming soon. Also, the XUL sort service has been reworked to be better. See the bottom of the template features in 1.9 page for more details.

I've also added a page on how I plan to make XML sources be useable with XUL templates. I've already implemented most of this but still need to do some debugging. Comments on the syntax are most welcome.

Comments ( 3 )