Actionscript class property data validation with annotation
asp.net mvc has something that allows for class property validation using annotati开发者_JAVA百科on.
is there a similar thing in actionscript?
Believe this might be what you're looking for: http://livedocs.adobe.com/flex/3/html/metadata_3.html#159728 if not you can also create custom annotations in Flex though I've yet to delve into this myself.
I know this is an old thread, but this sounds like exactly what you're looking for. http://www.graniteds.org/confluence/display/DOC/8.+Bean+Validation+(JSR-303)
精彩评论