Alright, so it looks like 0 ought to be the first (dummy) option.
However, since I need to display a message ("You must choose a federal fiscal year") when a user neglects to select an option, does that necessitate a whole new "validation-rule," validation class/method (
Java), and client-side (JavaScript) function?
That seems like a lot of work for such a common validation. Is this validation less common than I think? Otherwise, is there some other, better approach to this?
I'm a rookie, but I'm trying to tackle all my problems with the "strutsiest" solutions possible. As I discover and apply new struts features, I see my code get cleaner and cleaner. I'm pretty excited that my
JSP is comprised of clean, clever custom tags, and completely devoid of scriptlets (the beasts that gave me such a bad initial impression of JSP).
Please help me solve this latest problem in the "strutsiest" way possible?
Thanks again,
Jamie
[ March 10, 2005: Message edited by: Jamie Jackson ]