I am unable to capture any events with a dynamically created tree.
My jsp code is pasted below. The tree renders correctly. I have tried using tags like onclick, onchange etc but it doesnt seem to be working. Do I have to use some dojo specific code here?
<%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <s:head theme="ajax"/> <script type="text/javascript"> function nodeClicked(nodeID){ alert('foo') } </script> </head> <body> <s:tree id="categoryTree" theme = "ajax" rootNode="category" childCollectionProperty="categoryList" nodeIdProperty="id" nodeTitleProperty="name" onclick="nodeClicked" > </s:tree> </body> </html> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]