Hi Clément, I updated tapestry-jquery and I got the following new error:
missing ; before statement tapestry-beanvalidator.js()tapestry-beanvalidator.js (line 15) var Tapestry.Validator={}; Regards, Matias. >> You're welcome. >> >> I've just pushed some code on github for bean validator support. >> Feel free to test it, don't forget to update dependencies (the new jar is >> ready). :) >> >> Regards, >> Clément On Wed, Jun 22, 2011 at 1:17 PM, Matias Blasi <matias.bl...@gmail.com>wrote: > Thank you very much again Clément! > > I'm going to start migrating all my scripts. > > Regards, > Matías. > > > >> The Class you use is Prototype specific. >> As long as tapestry5-jquery > removes Prototype, you can't use it anymore. >> jQuery prefers to use > plugins -> http://docs.jquery.com/Plugins/Authoring >> or widgets (which > is a pattern used by jquery ui, also included in >> tapestry5-jquery) -> > http://jqueryui.com/docs/Developer_Guide > > On Wed, Jun 22, 2011 at 1:04 PM, Matias Blasi <matias.bl...@gmail.com>wrote: > >> Hi, Its me again... >> >> After skiping this issue, I am getting the following javascript error: >> >> Class is not defined >> MyType = Class.create({... >> >> It fails since I added tapestry5-jquery module, too. >> I do that every time I want to define a new Javascript type... Is there >> another compatible way to do that? >> >> Regards, >> Matias. >> >> >> >> On Wed, Jun 22, 2011 at 12:54 PM, Matias Blasi <matias.bl...@gmail.com>wrote: >> >>> It is not resolved by disabling the clientValidation of the form >>> components, it is resolved by removing the tapestry-beanvalidator module >>> dependency. >>> This module has the tapestry-beanvalidator.js which produces the >>> javascript error. >>> >>> >>> Regards, >>> Matias. >>> >>> >>> >>> On Wed, Jun 22, 2011 at 12:35 PM, Matias Blasi >>> <matias.bl...@gmail.com>wrote: >>> >>>> Thanks Clément, >>>> >>>> If I have a lot of forms in my application, is there any way to disable >>>> it globally? >>>> >>>> Best regards! >>>> Matías. >>>> >>>> >>>> The form component has a clientValidation parameter. >>>> >>>> On 22 June 2011 17:18, Matias Blasi <mati...@gmail.com> wrote: >>>> >>>> Thank Clément, >>>> >>>> I will be waiting for this improvement anxiously! >>>> >>>> Just a question: Is there a quick way for disabling the client-side >>>> validation on tapestry framework? >>>> >>>> Regards, >>>> >>>> Matías. >>>> >>>> Hi Matias, >>>> >>>> Thanks for your feedback. >>>> >>>> Unfortunately bean validation doesn't work for the moment with got5 >>>> tapestry5-jquery. >>>> >>>> I've just opened an issue. >>>> https://github.com/got5/tapestry5-jquery/issues/42 >>>> >>>> Maybe you should try to disable client validation for the moment, until >>>> I >>>> (or someone) solve it. >>>> >>>> Regards, Clément >>>> >>>> On 21 June 2011 00:20, Matias Blasi <mati...@gmail.com> wrote: >>>> >>>> Hi all >>>> >>>> I recently integrated my tapestry5 (5.2.5) application with the latest >>>> got5-jquery library (2.1.1) >>>> >>>> And I have the following error just entering to an empty page: >>>> >>>> Tapestry.Validator is undefined ---> Tapestry.Validator.notnull = >>>> function(field, message, spec) (tapestry-validator.js line 15) from >>>> tapestry-beanvalidator-5.2.5.jar >>>> >>> >>> >> >