Hi,
Please give me some feedback on this idea:
AFAIK the DateSelector defaults to containing the current date when you
create it without a date. I want to leave a null choice, in the
dateselector. This would cause an extra option with empty string text to be
added at the beginning of each <select> element, and if the blank option is
selected for each element (date, month and year) then the date will be null.
Does anyone else think this would be a useful feature?
If so, should it be an extra boolean parameter in the DateSelector
constructor, or a setNullable method, or both?
If some of the fields are left blank, but others are filled in, the
ParameterParser.getDate can either throw an exception, or use the Calendar
default: Year = 1970, Month=January, Date = 1...which one of these is
better?
It looks like this would require changes to the DateSelector class and the
ParameterParser class, is there anything I'm missing?
Thanks,
-Nissim
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]