Javascript allows you to dynamically change an object. Instead of editing tapestry.js create your own js that gets added after tapestry.js and modify the validators then.
Something like: Tapestry.Validator.yourvalidator = function(field, message, param) { Tapestry.addValidator(field, true, function(value, event) { /* validation here */ }); } Josh On Fri, Sep 5, 2008 at 10:22 AM, Mohammad Shamsi <[EMAIL PROTECTED]>wrote: > any idea ? > > Hi friends, > > i am going to add new validator in my T5 project. > the server side validatioin is ok and i have no problem with it. > but in client side, i changed the Tapestry.js to add my validator funciton > in it. > > is there any better way to avoid change Tapestry original javascripts ? > > -- > sincerely yours > M. H. Shamsi > > > > -- > sincerely yours > M. H. Shamsi > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.