Scott Logic Ltd

Archive For "validation" Tag

Handling Validation Error Messages in Struts2

Steven Hall, February 16th, 2011

I’ve recently been developing a web project using the Struts2 framework.  A problem that came up during development was validation. More specifically, the way error messages and page redirects are sent back to the user. In this blog post I’ll explain the problems I encountered, and some solutions to those problems. Struts’ Validation Framework Struts [...]

Read More


BindingGroups for Total View Validation

Colin Eberhardt, January 26th, 2009

Over the weekend Sacha published a new article on codeproject, Total View Validation (does Sacha ever sleep?). This article addresses some of the perceived problems with the WPF binding framework, firstly, that the standard solution of using the Valida…

Read More


Using BindingGroups for greater control over input validation

Colin Eberhardt, November 28th, 2008

In a recent post on his blog Josh Smith described a technique for providing more meaningful error messages when the type conversion process fails within the binding framework. Consider the following problem; you bind an integer property of your object …

Read More

© 2012 Scott Logic Ltd. All Rights Reserved.