Re: [qooxdoo-devel] Sending a message

2007-09-07 Thread Jim Hunter
My sample code has an error in it. Make this small change and you should have no more problems, at least I am getting my data now: from: qx.event.message.Message('transport-update'), s); to: qx.event.message.Message('transport-update', s)); Jim On 9/7/07, frederic <[EMAIL PROTECTED]> wr

Re: [qooxdoo-devel] Sending a message

2007-09-07 Thread frederic
Hello, The following code doesn't work : *** test.txt *** Hello world *** Application.js *** var req = new qx.io.remote.Request('test.txt'); req.addEventListener('completed', function(e){ s = e.getData().getContent(); this.debug("s="+s); qx.event.message.Bus.dispatch(new qx.event.messag

Re: [qooxdoo-devel] Sending a message

2007-09-05 Thread bibliograph
Jim, I think Derrell is right here - messages are disposed after all subscribers have been notified. Christian Derrell Lipman schrieb: > > > On 9/5/07, *Jim Hunter* <[EMAIL PROTECTED] > > wrote: > > Christian, > > I was excited to see this bit of information

Re: [qooxdoo-devel] Sending a message

2007-09-05 Thread Derrell Lipman
On 9/5/07, Jim Hunter <[EMAIL PROTECTED]> wrote: > > Christian, > > I was excited to see this bit of information so I tried out some tests > to see what I could do with messages and I am not able to pass data like > your sample shows. When I do the exact same thing as you have, the getData() > is

Re: [qooxdoo-devel] Sending a message

2007-09-05 Thread Jim Hunter
Christian, I was excited to see this bit of information so I tried out some tests to see what I could do with messages and I am not able to pass data like your sample shows. When I do the exact same thing as you have, the getData() is null. Is there a typo in your code or what might I be doing w

Re: [qooxdoo-devel] Sending a message

2007-06-15 Thread johnl
Christian, Thank you for your help. I was a bit sloppy asking my question, but after a little playing around, I found the answer - What I was interested in was having a button execute when a field was clicked (specifically a DateChooserButton). It turns out all I had to do was something like:

Re: [qooxdoo-devel] Sending a message

2007-06-15 Thread Christian Boulanger
Hi, sending and subscribing to messages works similar to dispatching and listening for events. So if you have a button mybutton, you write qx.event.message.Bus.subscribe("activation-message",function(message){ this.setEnabled(message.getData()); }, mybutton); and within the field that shoul

[qooxdoo-devel] Sending a message

2007-06-14 Thread johnl
How do I send a message to an object? I have a DateChooserButton I want to activate when clicking on a field (for the convenience of a user). Thanks. David - This SF.net email is sponsored by DB2 Express Download DB2 Expres