Avoiding "validate" event after "canceled" from BeanEditForm

2011-07-20 Thread Matias Blasi
Hi all! I have a t:beaneditform with t:cancel="true" When I click on cacel, I handle it with a onCanceledFromMyForm() handler, and here return another page. My problem is that after the "canceled" event the "validate" is fired, and my onValidateFromMyForm() handler is called, recording form error

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-29 Thread Matias Blasi
, Matias. On Wed, Jun 22, 2011 at 1:38 PM, Matias Blasi wrote: > 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={}; > > Regar

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
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 wrote: > Thank you very much again Clément! > > I'm

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
cs.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 wrote: > Hi, Its me again... > > After skiping this issue, I

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
that? Regards, Matias. On Wed, Jun 22, 2011 at 12:54 PM, Matias Blasi 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 wh

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
Blasi 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 wrote: > >

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
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 wrote: Thank Clément, I will be waiting for this improvement anxiously! Just

Re: Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-22 Thread Matias Blasi
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 wrote: Hi all I recently int

Re: Trigger component event context

2011-06-22 Thread Matias Blasi
is another way to do it? On Tue, Jun 21, 2011 at 2:47 PM, Matias Blasi wrote: Thanks Igor! Is this a "*Trigger* *Component* API" limitation or there is any technical limitation I am missing? If it is a API issue, it should be great to have a *context* parameter into the *Trigger* *compon

Re: Trigger component event context

2011-06-21 Thread Matias Blasi
riggered* by *Trigger* *component*may >> only >> have MarkupWriter as *context* >> >> On Tue, Jun 21, 2011 at 12:46 AM, Matias Blasi wrote: Hi all! I am using the *trigger* *component* to fire an event. Is there any way to pass a *context* for that event? As far as I underst

Trigger component event context

2011-06-20 Thread Matias Blasi
Hi all! I am using the trigger component to fire an event. Is there any way to pass a context for that event? As far as I understand, the trigger component should have a 'context' parameter, is that correct? Regards, Matias.

Tapestry5-JQuery Integration and tapestry-beanvalidator

2011-06-20 Thread Matias Blasi
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

Tapestry5 + Tomcat5 + Apache2

2011-01-10 Thread Matias Blasi
Hi all! I am gentting a problem with a the following scenario: A tapestry5 application with a field with the @OnEvent mixin (chenillekit) All this running on Tomcat5, behind Apache2. I made a Proxy configuration in Apache2 in order to hide the server port: http://localhost:8080/*> Order deny

Avoiding double form submission at server side

2010-12-21 Thread Matias Blasi
Hi! I'am researching about the best way to avoid the double form submission at the server side. I was trying with a persistent flag boolean onPrepareForSubmit() { return !this.processing; } Object onSuccess() { this.processing = true; // do stuff this.processing = false; return this;

Tapestry 5 and JOSSO

2010-11-23 Thread Matias Blasi
Hi guys, Has anyone used JOSSO as a single sign-on layer in front of a Tapestry App??? I am doing a research to integrate my Tapestry web application with Josso in order to share the login with other php application. Thank you in advance! Matías.