Re: Struggling with Ajax in T5 ...

2011-01-31 Thread LLTYK
i/ajax/request -- View this message in context: http://tapestry-users.832.n2.nabble.com/Struggling-with-Ajax-in-T5-tp5970312p5976916.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-

Re: Struggling with Ajax in T5 ...

2011-01-30 Thread Inge Solvoll
Hi! I haven't read all of this thread, but I have one suggestion: You should "hijack" your onclick handlers with javascript to do additional work before or after calling the original onclick. Don't know how experienced you are with javascript, but it will look something like this: var oldOnclick

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 Jan 2011 15:30:31 -0200, Jessica Sobieski wrote: Hi Thiago - Hi! So what kind of JavaScript code can I use to connect register(studentId) function with the page class registerStudent method? See http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html for an exa

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Jessica Sobieski
Hi Thiago - > Which buttons? I'm not following you. To answer your question, I'm talking about these buttons in my template: Student Registration These input buttons come from an HTML stored in a database. I can't change that design, and these buttons must call register(studentId) javascript

Re: Struggling with Ajax in T5 ...

2011-01-28 Thread Thiago H. de Paula Figueiredo
On Fri, 28 Jan 2011 13:57:16 -0200, Jessica Sobieski wrote: Hello boys! Hi! 1) I don't control how buttons are generated, therefore they must call register(studentId) javascript. No way around it. Which buttons? I'm not following you. public String getStudent() { return s