[ColdBox 3.5.2] Validation methodMessage

I might just be missing something, but I am looking for a way to return more than one message from my method-based validation. That is, the method validates a couple different ways and depending on how it fails I’d like to customize the message. I wonder if it would be worth modifying the method-based validation to be able to return a string (the message) in addition to returning boolean (pass/fail).

Or, is it possible to specify multiple validation methods for a single constraint? I would probably prefer this anyway as then my methods become more atomic.

Can you show what you are doing?

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano