Re: cforms: events on widget instances

2004-04-30 Thread Bruno Dumon
On Fri, 2004-04-30 at 16:10, Vadim Gritsenko wrote: > Bruno Dumon wrote: > > >On Fri, 2004-04-30 at 14:30, Vadim Gritsenko wrote: > > > > > >>Sylvain Wallez wrote: > >> > >> > >> > >>>Bruno Dumon wrote: > >>> > >>> > >>... > >> > >> > >> > And now the practical side: example us

Re: cforms: events on widget instances

2004-04-30 Thread Vadim Gritsenko
Bruno Dumon wrote: On Fri, 2004-04-30 at 14:30, Vadim Gritsenko wrote: Sylvain Wallez wrote: Bruno Dumon wrote: ... And now the practical side: example usage in flowscript: form.getWidget("test").addActionListener(newActionListener(function(event) { print("hi there");

Re: cforms: events on widget instances

2004-04-30 Thread Bruno Dumon
On Fri, 2004-04-30 at 14:30, Vadim Gritsenko wrote: > Sylvain Wallez wrote: > > > Bruno Dumon wrote: > > ... > > >> And now the practical side: example usage in flowscript: > >> > >> form.getWidget("test").addActionListener(newActionListener(function(event) > >> { > >>print("hi there");

Re: cforms: events on widget instances

2004-04-30 Thread Vadim Gritsenko
Sylvain Wallez wrote: Bruno Dumon wrote: ... And now the practical side: example usage in flowscript: form.getWidget("test").addActionListener(newActionListener(function(event) { print("hi there"); })); where the newActionListener function is as follows: function newActionListener(list

Re: cforms: events on widget instances

2004-04-28 Thread Jeremy Quinn
On 27 Apr 2004, at 10:24, Bruno Dumon wrote: (*) multivaluefield: the builder happily builds the listeners, but multivaluefield seems to nowhere create events. So I haven't added instance-based event listeners on that widget either. -> solution I see is to add full support for value changed even

Re: cforms: events on widget instances

2004-04-27 Thread Sylvain Wallez
Bruno Dumon wrote: I've just added the instance based event listeners. You can both add and remove them. Following table summarizes the current event situation, see below for more info. valuechanged action field Y N/A multivaluefield (*)

cforms: events on widget instances

2004-04-27 Thread Bruno Dumon
I've just added the instance based event listeners. You can both add and remove them. Following table summarizes the current event situation, see below for more info. valuechanged action field Y N/A multivaluefield (*) N/A booleanf