Hi All, I am building a application using struts 2.1.2.
In my application, I want to have tree and by clicking a tree node, an action will excute and attached JSP with the action will have a tabbedpanel. ( just like a standard java GUI). I have searched the showcase examples and found out the dynamic tree example where action is invoked by clicking the tree node. Below is the code: ------ <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, load: function(type, data, evt) { var divDisplay = dojo.byId("displayId"); divDisplay.innerHTML=data; }, mimeType: "text/html" }); }); </script> <sx:tree id="tree" rootNode="%{treeRootNode}" childCollectionProperty="children" nodeIdProperty="id" nodeTitleProperty="name" selectedNotifyTopics="treeSelected" > </sx:tree> <div id="displayId"> Please click on any of the tree nodes. </div> ----- The result jsp of dynamicTreeSelectAction displays the nodeid and nodename in the div tag. If I put a sx:tabbedpanel in this result jsp, then tabbedpanel does not render at all, in stead the content of panels are shown only( not the visual tabs). I put the alert to see the innerhtml, it shows the correct content. Where I went wrong? Please help. Regards Rajib Technical Architect -- View this message in context: http://www.nabble.com/sx%3Atree-and-sx%3Atabbedpanel-do-not-integrate-tp19550399p19550399.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]