--- Manu Mahajan <[EMAIL PROTECTED]> wrote: > function treeNodeSelected(){ > alert('Temporary like Achilles') > } > dojo.event.topic.subscribe("/treeSelected", > this, "treeNodeSelected"); > > <s:tree id="contentTree" > theme = "ajax" > rootNode="%{category}" > childCollectionProperty="categoryList" > nodeIdProperty="id" > nodeTitleProperty="name" > toggle="expand" > toggleDuration="0" > treeSelectedTopic="/treeSelected" > > > </s:tree>
I just don't see anything immediately wrong; the only differences are the arguments to the JavaScript function (did you try with a single argument like mine?) and the "/" in the topic, which definitely shouldn't matter (but try it anyway). You're getting no debug output? > I have a feeling that I'm missing some dependancy. > Do i need anything apart from the jars in the blank > app? I don't know, but I doubt it. Dojo is contained inside S2 (at least for 2.0.6; which version are you using again?) d. ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]