Re: [Proposal] Some changes to Bind.js

tm_jee <[email protected]>
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <11425351.1148998222762.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
Thx for the reply Ian.

I guess one use case would be with the tree component.  When a tree is created we could specified its treenode's id and its label, the label is what users would see. If a node is clicked a topic would be published. A div could be used to listen to the topic and an id of the source could be used to identified which node is clicked. 

There might be a better way of doing this that I didn't realise. Currently one possible way would be to manually wire up the event using dojo.event.subscribe and dojo.io.bind. If div could provide the source of topic, it would be better i guess. What do you think?  :-)
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=32556&messageID=63556#63556

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.