Please, has anyone figured out how to make the tree selection work with struts 
2.0.9?  The showcase example, the way it stands doesn't work for 2.0.9 (it 
didn't work for 2.0.6 either, but I found a hack that involved changing the 
struts-core jar file).  I thought it was supposed to be fixed in 2.0.9.  Any 
updates on this?

Thanks,
Session


> Hi,
> 
> I recently upgraded to struts 2.0.9, and now my tree viewer doesn't
> respond to node selections any more.
> 
> Here's my jsp script: <script> function treeNodeSelected(nodeId) { 
> dojo.io.bind({ url: "<s:url
> value='/tags/ui/ajax/dynamicTreeSelectAction.action' />?nodeId="+nodeId, 
> load: function(type, data, evt) {}, mimeType: "text/html" }); };
> 
> dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected"); 
> </script>
> 
> <s:tree theme="ajax" rootNode="%{treeRootNode}" 
> childCollectionProperty="childrenNodes" nodeIdProperty="id" 
> nodeTitleProperty="name" treeSelectedTopic="treeSelected"> </s:tree>
> 
> The action that's suppose to execute when a selection is made is
> dynamicTreeSelectAction; but it never gets called (I use logging in the
> execute() and setNodeId() methods)
> 
> Has anyone gotten around this problem?
> 
> 
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to