You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ben Sommerville <bs...@bulletproof.com.au> on 2006/09/10 10:41:13 UTC
@EventListener and dojo topics
Hi,
Can an @EventListener be used to subscribe to an event publised via a dojo
topic?
(dojo topics are described at
http://dojotoolkit.org/docs/dojo_event_system.html#using-topics-for-truly-an
onymous-communication).
cheers,
--
Ben Sommerville
RE: @EventListener and dojo topics
Posted by Ben Sommerville <bs...@bulletproof.com.au>.
Jesse,
That's what I suspected, thanks for the confirmation.
I'm not sure what problem topics are solving in general, but in my specific
case a dojo component I want to use (TreeV3) sends its events (or at least
some of them) via topics. I wanted to hook those events to a server call.
I'll investigate a bit more & see what I can come up with....
thanks
Ben
-----Original Message-----
From: Jesse Kuhnert [mailto:jkuhnert@gmail.com]
Sent: Monday, 11 September 2006 12:41 AM
To: Tapestry users; bsommerv@bulletproof.com.au
Subject: Re: @EventListener and dojo topics
Not currently.
Topics also normally are associated with sending objects when things happen,
so I'm not sure a good solution would be had to make this generic
enough...Ie the objects could be anything..Dom nodes, arbitrary json
structures, etc...
Maybe if I knew more about the problem topics are solving I can be more
useful with ideas.
On 9/10/06, Ben Sommerville <bs...@bulletproof.com.au> wrote:
>
> Hi,
>
> Can an @EventListener be used to subscribe to an event publised via a
> dojo topic?
> (dojo topics are described at
>
> http://dojotoolkit.org/docs/dojo_event_system.html#using-topics-for-tr
> uly-an
> onymous-communication).
>
>
> cheers,
> --
> Ben Sommerville
>
>
>
--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: @EventListener and dojo topics
Posted by Jesse Kuhnert <jk...@gmail.com>.
Not currently.
Topics also normally are associated with sending objects when things happen,
so I'm not sure a good solution would be had to make this generic
enough...Ie the objects could be anything..Dom nodes, arbitrary json
structures, etc...
Maybe if I knew more about the problem topics are solving I can be more
useful with ideas.
On 9/10/06, Ben Sommerville <bs...@bulletproof.com.au> wrote:
>
> Hi,
>
> Can an @EventListener be used to subscribe to an event publised via a dojo
> topic?
> (dojo topics are described at
>
> http://dojotoolkit.org/docs/dojo_event_system.html#using-topics-for-truly-an
> onymous-communication).
>
>
> cheers,
> --
> Ben Sommerville
>
>
>
--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com