07 September 2007

Form Tag Library

So, I'm feeling pretty nerdy right now because, even though it is 11:30 PM on a Friday night, I am working on company code from my home computer for my salaried job. There really is no other benefit other than the geek factor of working on something right now that I think is pretty cool.

See, we have, over the past year, been developing a nice set of tag-libs and other form helpers to make it easier to draw up forms with appropriate validation, formatting, i18n, etc. We are currently using a utility powered by DWR for shared client/server validation, tag-libs for the formatting, and our market and locale-sensitive CMS for i18n. Put them together, and you get a whole lot of functionality for a form while keeping the form looking like what is finally generated on the page (as opposed to having a trillion scriptlets, javascript helpers, etc. scattered around until, from the jsp, you have no idea what the page will look like).

Right now, I'm working on some tag libs for higher-level components like Credit Cards and Addresses.

Sadly, since this is work, I can't get into a lot of detail, except to say that I plan to one day base an open source project off of the experience that I am gaining in developing it.