struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RajibJana <>
Subject sx:tree and sx:tabbedpanel do not integrate
Date Thu, 18 Sep 2008 11:06:13 GMT

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) {{
            url: "<s:url
            load: function(type, data, evt) {
                var divDisplay = dojo.byId("displayId");
            mimeType: "text/html"

    selectedNotifyTopics="treeSelected" >

<div id="displayId">
Please click on any of the tree nodes.

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

I put the alert to see the innerhtml, it shows the correct content.

Where I went wrong?

Please help.


Technical Architect

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message