Struts version is 2.0.9 I will try once again and repeat the steps you wrote here. Wish me luck. One question: Where exactly did you put the folder template/ajax in your application ?
Thanks. Manu Mahajan-2 wrote: > > This is the link to the file that I used > http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/tree.ftl?view=markup&pathrev=528866 > > All I did was > 1. added this file to a template/ajax folder in my app > 2. modified the function treeNodeSelected in treeExampleStatic.jsp in > the showcase app to the following (the only change is nodeId changed to > message.node.widgetId) > > function treeNodeSelected(message) { > dojo.io.bind({ > url: "<s:url > value='/tags/ui/ajax/staticTreeSelectAction.action'/>?nodeId="+message.node.widgetId, > load: function(type, data, evt) { > var divDisplay = dojo.byId("displayIt"); > divDisplay.innerHTML=data; > }, > mimeType: "text/html" > }); > }; > > 3. restarted tomcat > > And it worked for me. I just tried this with the 2.0.8 and 2.0.9 > showcase apps.... > > What version of struts are you using? > > > GEDA wrote: >> No problem. I took the latest version from svn (it had the description >> with >> the topic notification fixed) and still doesn't fire any event because I >> tested it with an alert function. I also created the path /template/ajax >> and >> put the tree.ftl file in there. What's wrong with it ? >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%3Cs%3Atree-treeSelectedTopic-property-doesn%27t-fire-any-event-tf4304332.html#a12275350 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]