[Webwork-devel] CVS update: webwork/src/main/webwork/action/factory
Brought to you by:
baldree,
rickardoberg
From: matt b. <ba...@us...> - 2002-04-22 22:43:14
|
Update of /cvsroot/webwork/webwork/src/main/webwork/action/factory In directory usw-pr-cvs1:/tmp/cvs-serv11707 Modified Files: ParametersActionFactoryProxy.java Log Message: Added try/catch for IllegalArgumentException which throws a ResultException with "error". For instance, if you have a form field that attempts to set a Double in an Action and the user enters in a string that WW cannot convert to a Double, then a ResultException will be generated which will return an "error". If there is a view that maps to "error", the user will be sent to this page and the form field will be highlighted that caused the error. |