Hi Guys, is it a correct way to call showValidationMessage method from validation.js from tapestry-jquery? Even if I try to call that method manually in debug mode it dosen't seems to be calling showValidationMessage method. Here is a code how it's done in jquery:
(function($) { $.fn.configureValidators = function(callbackUrl) { $(this.selector).blur(function() { var field = $(this); $.ajax({ url:callbackUrl, type:'post', async : false, data:{ value: field.val(), id: $(field).attr('id') }, success: function(response) { if(response != "") { $(field).bind(Tapestry.FIELD_VALIDATE_EVENT, function(e, data, translated) { $(field).tapestryFieldEventManager("showValidationMessage", response); }); } else { $(field).unbind(Tapestry.FIELD_VALIDATE_EVENT); } } }); }); }; })(jQuery); Than you for help!!! As always!!! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org