[ http://issues.apache.org/jira/browse/TAPESTRY-611?page=all ]
Howard M. Lewis Ship closed TAPESTRY-611:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
> Pattern validator invokes wrong client-side JavaScript function
> ---------------------------------------------------------------
>
> Key: TAPESTRY-611
> URL: http://issues.apache.org/jira/browse/TAPESTRY-611
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: beta-5
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> Generates almost-right initialization code:
> Tapestry.onsubmit('form', function(event) { Tapestry.require_field(event,
> 'longitudeDecimalMinutes', 'You must enter a value for Longitude.'); });
> Tapestry.onsubmit('form', function(event) { Tapestry.validate_regexp(event,
> 'longitudeDecimalMinutes', '\^\\s\*\(\\d\+\)\\s\+\(\\d\+\\\.d\+\)s\*\$',
> 'Longitude in decimal minutes omits the symbols, and is of the form 13 19.717
> (the first number is the degrees, the second the decimal minutes).'); });
> But the function is named "validate_regex" not "validate_regexp".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]