Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
I seem to be having an issue with getting the required and intRange validations to play nicely together.
When the page that has validation logic that uses the above validatiors I always get the error "xxxx must be an integer" even if the field is blank. I would expect the first error message to be "xxxx is required."
Does anyone know what could be going wrong?
Here is the code from the validation.xml file:
Then here is the code from the struts-config.xml file:
Thanks for your time,
Then YOU must do the pig's work! Read this tiny ad. READ IT!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth