Re: [Tobago] f:ajax inside tc:in event="keyup"

2018-08-21 Thread Henning Nöth
Hi, Tobago doesn't currently support the 'keyup' event. We plan to implement this in the future but in the meantime you have to use the 'change' event. If 'change' is absolutely not an option, the only workaround I see is a JavaScript-Hack. You can put a listener on 'keyup' and trigger the

Re: [Tobago] f:ajax inside tc:in event="keyup"

2018-08-21 Thread Volker Weber
Hi Dennis, Am Mo., 20. Aug. 2018 um 18:50 Uhr schrieb Dennis Kieselhorst < d...@apache.org>: > > I see, I'm not sure if this is really the intended behaviour. > > @Udo, Henning what do you think? > > Cheers > Dennis > I'm not sure about your question, is it about the behavior of the "onchange"

Re: [Tobago] f:ajax inside tc:in event="keyup"

2018-08-20 Thread Dennis Kieselhorst
Am 20.08.2018 um 18:43 schrieb jfrm.mau...@gmail.com: > > Hi, > > Le 19/08/2018 à 21:58, Dennis Kieselhorst a écrit : >> the change event should work for your usecase. > > Thank you for your answer. If I understand well the event will be fired > only when the component looses focus with change.

Re: [Tobago] f:ajax inside tc:in event="keyup"

2018-08-19 Thread Dennis Kieselhorst
Hi, the change event should work for your usecase. You'll find a sample at the bottom of the page: http://tobago-vm.apache.org/demo-4-release/content/20-component/010-input/10-in/in.xhtml Regards Dennis

[Tobago] f:ajax inside tc:in event="keyup"

2018-08-19 Thread jfrm.mau...@gmail.com
Hi, I would like to check whether a user entry is a valid e-mail address each time a key is pressed. When I use f:ajax with event="keyup" inside tc:in, Tobago complains that this event is not valid. It seems like this event is not implemented.   focus="true">      Is there a