Re: Realize operations on "blur" from a textfield

2010-07-09 Thread Claude Dubois
I have found on Jumpstart Doublenegative a mixin which matches my needs. It's the ZoneUpdater mixin by Inge Solvoll, and it is very easy to setup. Here is the source code of the ZoneUpdater : http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html Here is the demonstration in

Re: Realize operations on "blur" from a textfield

2010-07-08 Thread Borut BolĨina
Hi Claude, you can use chenillekit mixin OnEvent (). Here is the link: http://www.chenillekit.org/chenillekit-tapestry/ref/org/chenillekit/tapestry/core/mixins/OnEvent.html If you are developing with Tapestry 5.1, then put org.chenillekit chenillekit-tapestry 1.2.0

Re: Realize operations on "blur" from a textfield

2010-07-08 Thread Geoff Callender
Your problem is almost identical to the problem of doing client-side validation with AJAX. I think this will provide most of the solution: http://jumpstart.doublenegative.com.au/jumpstart/examples/input/ajaxvalidators1 You'd replace CustomError with your textfield. CustomError is liste

Re: Realize operations on "blur" from a textfield

2010-07-08 Thread Thiago H. de Paula Figueiredo
On Thu, 08 Jul 2010 09:18:12 -0300, Claude Dubois wrote: Does anyone have any idea of how it is possible to detect "onBlur" like we could do in Javascript? Tapestry works on the server-side, so you need to listen to the Javascript event yourself then trigger a server-side event to proces

Realize operations on "blur" from a textfield

2010-07-08 Thread Claude Dubois
Hello everybody, I'm developing a Tapestry 5 application, and I would like to add an autocomplete functionality, but not like the one integrated in T5. What I want to do is to search in my database the corresponding name of one part from its number, e.g. to detect the "onblur" action on my textf