Re: T5:how to support AJAX submit

2009-11-28 Thread Kalle Korhonen
Hey Inge, is there an issue already open to add these to T5 core? Didn't see one.. if not, let's create one - I'll vote for these anytime. Kalle On Mon, Nov 2, 2009 at 12:24 AM, Inge Solvoll wrote: > Forget about triggerLink, it does excactly what it says, it triggers a link. > You call submitZ

Re: Help Tapestry5 Block with JavaScript? Anyone

2009-11-28 Thread Howard Lewis Ship
I suspect you are not getting much of a response because you are asking too much from us; try giving this document a look over: http://www.catb.org/~esr/faqs/smart-questions.html On Tue, Nov 24, 2009 at 12:49 AM, alanearl wrote: > > Sorry @Environment is lacking > But still no luck heheheh... >

Re: [T5.2.0] AddRowLink generates incorrect link in conjunction with onPassivate

2009-11-28 Thread Ulrich Stärk
Joost, I still can't reproduce your issue. The requested URL when clicking the add row link according to firebug is http://localhost:8080/testpage.myajaxloop.rowinjector:inject?t:ac=passivate_value&t:formcomponentid=TestPage:form&t:formid=form which is perfectly valid and is the same as genera

Re: [T5.2.0] AddRowLink generates incorrect link in conjunction with onPassivate

2009-11-28 Thread Joost Schouten (ml)
I have created: https://issues.apache.org/jira/browse/TAP5-937 whith a patch to fix the problem in the LinkImpl. Thanks, Joost Ulrich Stärk wrote: I tested it with 5.2.0-SNAPSHOT and 5.1.0.5, but to be 100% sure, I'll clear out my local maven repo and test again this evening. Uli Am 27.11.20

Re: cross field validation with empty fields

2009-11-28 Thread Andreas Andreou
See http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/form/validator/Validator.html Probably just override getAcceptsNull() On Fri, Mar 6, 2009 at 7:21 PM, Ivano Luberti wrote: > Hello, we are using T4.1 > We have to validate a form and we don't want to do it client side. > Let

Re: tapestry 5 intercepting ajax call

2009-11-28 Thread Juan E. Maya
Hi, when a Zone is update it raises a javascript event that u could listen to using prototype. check: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html "After the client-side content is updated, a client-side event is fired on the zone's ele

Re: Activation context in form submissions

2009-11-28 Thread Thiago H. de Paula Figueiredo
Em Sat, 28 Nov 2009 12:04:19 -0200, Timo Westkämper escreveu: Hi. Hi! Ok. Thanks for your quick answers. The problem was an URL rewriting rule which messed up a few things. Sorry for the fuss. No problem. :) URL rewriting is very interesting, but needs to be implemented in a very car

Re: Activation context in form submissions

2009-11-28 Thread Timo Westkämper
Hi. Ok. Thanks for your quick answers. The problem was an URL rewriting rule which messed up a few things. Sorry for the fuss. Br, Timo Westkämper. Thiago H. de Paula Figueiredo wrote: Em Sat, 28 Nov 2009 11:56:44 -0200, Timo Westkämper escreveu: Hi. Hi! Here is a simple test. Clickin

Re: Activation context in form submissions

2009-11-28 Thread Thiago H. de Paula Figueiredo
Em Sat, 28 Nov 2009 11:56:44 -0200, Timo Westkämper escreveu: Hi. Hi! Here is a simple test. Clicking on submit will raise an error, because param1 is null. Have you tested it with an URL with an activation context value? I use forms in pages that use the activation context to edit o

Re: Activation context in form submissions

2009-11-28 Thread Timo Westkämper
Hi. Here is a simple test. Clicking on submit will raise an error, because param1 is null. I am sorry, but what do you mean by independent? Is the activation context supplied with form submits or not? Br, Timo. public class FormSubmit { private String param1; void onActivate(Stri

tapestry 5 intercepting ajax call

2009-11-28 Thread kamiseq
hi, I read a bit about Ajax in tapestry (so I can use zones or mixins) but there is one thing that I really doesn't understand. let say I have two zones t:id="*zoneA*" and t:id="*zoneB*" with style * display:none* (only zoneA is visible by default). so now I click on actionLink (*B*) that will do

Re: Activation context in form submissions

2009-11-28 Thread Thiago H. de Paula Figueiredo
Em Sat, 28 Nov 2009 09:27:27 -0200, Timo Westkämper escreveu: Hi. Hi! This is a Tapestry beginner's question : When doing form submissions is the page's activation context submitted and taken into account in the onActivate call or are activationContexts only for navigational requests

Activation context in form submissions

2009-11-28 Thread Timo Westkämper
Hi. This is a Tapestry beginner's question : When doing form submissions is the page's activation context submitted and taken into account in the onActivate call or are activationContexts only for navigational requests? The documentation of Form doesn't mention onActivate : http://tapestry.f