Author: musachy Date: Mon May 28 10:44:17 2007 New Revision: 542281 URL: http://svn.apache.org/viewvc?view=rev&rev=542281 Log: * Fix url used for the Ajax request when a node is clicked
Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp?view=diff&rev=542281&r1=542280&r2=542281 ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp (original) +++ struts/struts2/trunk/apps/showcase/src/main/webapp/tags/ui/treeExampleDynamic.jsp Mon May 28 10:44:17 2007 @@ -13,7 +13,7 @@ <script language="JavaScript" type="text/javascript"> dojo.event.topic.subscribe("treeSelected", function treeNodeSelected(node) { dojo.io.bind({ - url: "<s:url value='/tags/ui/ajax/dynamicTreeSelectAction.action'/>?nodeId="+node.node.widgetId, + url: "<s:url value='/tags/ui/ajax/dynamicTreeSelectAction.action'/>&nodeId="+node.node.widgetId, load: function(type, data, evt) { var divDisplay = dojo.byId("displayId"); divDisplay.innerHTML=data;