I have a Flex app that is sending data to the server and I would like to validate the Objects being passed on the server side. The Flex app passes the information over an AMF channel and so it does not go through the Struts2 framework.
So far, I have found classes such as: com.opensymphony.xwork2.validator.validators.StringLengthFieldValidator but I get lost on what happens when I should call: stringLengthFieldValidator.validate(myObject); as it doesn't return anything and needs a non-null ValidatorContext - which I don't know how to setup correctly. Can anyone provide a link or advice on how to do this please? -- View this message in context: http://old.nabble.com/How-to-do-programatic-validation--tp27179164p27179164.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org