|
From: Peter C. <Pet...@me...> - 2006-06-13 11:58:25
|
> From: Matthew Buckett > Why is the date parsing unlike the rest of Bodington? It's not, the parameter parsing is. In most of the rest of the system, parameter parsing is done in a function that has the request and the output writer to hand, so the present central functions for date-input-field parsing take those as parameters to minimise the call sequence. By contrast, checkParameters() in QuestionnaireFacility takes a Map of parameters and fills a Vector of error messages. I quite like the way checkParameters() does its job, but it means I need a version of the date-input-parser that can cope with parameter maps and appropriate outputs. - Peter |