[
https://issues.apache.org/struts/browse/WW-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40795
]
Musachy Barroso commented on WW-1813:
-------------------------------------
Dojo now passes the an object a parameter to the topic, instead of the id, to
access the the widget object use the "node" property of the passed parameter,
like:
<script language="JavaScript" type="text/javascript">
dojo.event.topic.subscribe("treeSelected", function treeNodeSelected(node) {
alert(node.node.widgetId);
});
</script>
> Tree Tag's treeSelectedTopic attribute doesn't works
> ----------------------------------------------------
>
> Key: WW-1813
> URL: https://issues.apache.org/struts/browse/WW-1813
> Project: Struts 2
> Issue Type: Bug
> Components: Views
> Affects Versions: 2.0.6
> Environment:
> jdk1.5.0_08,apache-tomcat-5.5.20,struts2-showcase-2.0.6.war
> Reporter: zhouyanming
> Assigned To: Musachy Barroso
> Fix For: 2.1.0
>
> Attachments: struts2 suggested patch for tree tag.zip
>
>
> in /tags/ui/treeExampleDynamic.jsp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.