--
You received this message because you are subscribed to the Google Groups "ValidateThis-dev" group.
To post to this group, send email to validate...@googlegroups.com.
To unsubscribe from this group, send email to validatethis-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/validatethis-dev?hl=en.
I'm not keen on that (although it would save me lots of time!).
Instead I'm thinking of having a separate object which is responsible
for generating default messages (if not specified in the rule)
depending on the "valtype" which would be called from addRule. The
downside to this approach is that it adds complexity and means when
new validator types are added then this object would need to modified
as well.
Any thoughts?
Thanks,
- John