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]