[ http://mc4j.org/jira/browse/STS-438?page=comments#action_10898 ] Kai Grabfelder commented on STS-438: ------------------------------------
so all you need is LocalizableError#getMessageKey(), right? > Getter for messageKey on Localizable error > ------------------------------------------ > > Key: STS-438 > URL: http://mc4j.org/jira/browse/STS-438 > Project: Stripes > Issue Type: Improvement > Components: Validation > Affects Versions: Release 1.4.3 > Reporter: Micah Skilling > Assigned To: Tim Fennell > Priority: Minor > > I'm writing some tests and was looking for a way to verify certain validation > errors are occurring. I can check the number of errors with something like > (pseudocode): > ActionBeanContext abc = bean.getContext(); > assert(abc.getValidationErrors().size() == count) : "Unexpected Error > Count."; > It also looks like it is possible to check errors for a given form field > name. > But, I'd like to be able to count the number of errors for a specific > messageKey. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Stripes-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-development
