Re: T5 : Event system
Is there a version number or deadline already planned for this functionality ? Thiago H de Paula Figueiredo a écrit : > On Wed, 14 Nov 2007 08:13:53 -0200, Stephane Decleire > <[EMAIL PROTECTED]> wrote: > >> I've tried without success to add an "onchange" event on a select box >> without firing the submit of the form. >> >> @OnEvent(value="onChange", component="mySelect") >> private String select() { >> log.info("new item selected"); >> return null; >> } > > AFAIK, the binding of methods to Javascript events is not implemented > yet. > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 : Event system
On Wed, 14 Nov 2007 08:13:53 -0200, Stephane Decleire <[EMAIL PROTECTED]> wrote: I've tried without success to add an "onchange" event on a select box without firing the submit of the form. @OnEvent(value="onChange", component="mySelect") private String select() { log.info("new item selected"); return null; } AFAIK, the binding of methods to Javascript events is not implemented yet. -- Thiago H. de Paula Figueiredo Desenvolvedor, Instrutor e Consultor de Tecnologia Eteg Tecnologia da Informação Ltda. http://www.eteg.com.br - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 : Event system
Stephane Decleire a écrit : I've tried without success to add an "onchange" event on a select box without firing the submit of the form. @OnEvent(value="onChange", component="mySelect") private String select() { log.info("new item selected"); return null; } Did i miss something or is the only way to get an event on a select is to submit the form ? Thanks in advance. Stephane It seems that my need is similar to Martin ... (onchange event from a select). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5 : Event system
I've tried without success to add an "onchange" event on a select box without firing the submit of the form. @OnEvent(value="onChange", component="mySelect") private String select() { log.info("new item selected"); return null; } Did i miss something or is the only way to get an event on a select is to submit the form ? Thanks in advance. Stephane