Author: hlship
Date: Sat Sep 27 12:10:36 2008
New Revision: 699721
URL: http://svn.apache.org/viewvc?rev=699721&view=rev
Log:
TAP5-240: Tapestry.Initializer.validate() references non-existent variable
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js?rev=699721&r1=699720&r2=699721&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
Sat Sep 27 12:10:36 2008
@@ -714,7 +714,7 @@
if (vfunc == undefined)
{
- Tapestry.error("Function Tapestry.Validator.#{name}() does not
exist for field '#{fieldName}'.", {name:name, fieldName:pair.key});
+ Tapestry.error("Function Tapestry.Validator.#{name}() does not
exist for field '#{fieldName}'.", {name:name, fieldName:field.id});
return;
}