If you are wanting to do something like the sample code on the link that you
provided, it's a simple publisher/subscriber pattern and qooxdoo handles
that with the message bus. Take a look at qx.event.message.Bus.dispatch and
qx.event.message.Bus.subscribe and you will find what you need. I use this
class for doing status updates when I send requests to the server. I could
have a few requests going at one time and I use the message bus to know when
they are all done. I call a message when the request starts, one once I get
the data and another when all processing is complete.
If you need more information just let me know.
Jim
On Mon, Oct 27, 2008 at 4:59 PM, wrumsby <[EMAIL PROTECTED]>wrote:
>
>
> thron7 wrote:
> >
> >
> >> I still haven't quite got my head around the event system in qooxdoo. I
> >> understand it supports Custom Events (i.e. not simply DOM/browser
> >> events), but couldn't find any documentation on this when I briefly
> >> looked over the manual. Where should I look for a better example of how
> >> to use these in qooxdoo?
> >>
> >
> > You can find a general introduction to the event system here:
> > http://qooxdoo.org/documentation/0.8/event_layer_impl
> >
> > (Ok, this might be a bit technical for an introduction). The API doc for
> > the qx.event name space has also some contextual information:
> > http://demo.qooxdoo.org/current/apiviewer/#qx.event
> >
> > On a practical level, all you normally do is creating objects and
> > registring event handlers with the events that are supported by that
> > object (see the API doc for the specific class for supported events).
> > Some of the standard demos might be instructive in this regard, such as:
> > http://demo.qooxdoo.org/current/demobrowser/#event~MouseEvent.html<http://demo.qooxdoo.org/current/demobrowser/#event%7EMouseEvent.html>
> >
> > (Hit the "JS Code" button after the demo has been loaded to see the
> > implementation. You may want to look at other samples from the "event"
> > group in the demobrowser).
> >
> > Get back if you feel you still don't get the information you need.
> >
>
> After briefly looking over all of the references provided I still can't see
> anything that talks about custom events rather than DOM events.
> http://yuiblog.com/blog/2007/01/17/event-plan/ This article describes
> custom events in YUI and I'm looking for a similar feature in qooxdoo.
> --
> View this message in context:
> http://www.nabble.com/Evaluating-qooxdoo-tp20083797p20198972.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel