struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-2456) Struts2 treeExampleDynamicJsp controls does not render
Date Sun, 22 Jun 2008 14:30:05 GMT

     [ https://issues.apache.org/struts/browse/WW-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-2456.
---------------------------------

    Resolution: Fixed

> Struts2 treeExampleDynamicJsp controls does not render
> ------------------------------------------------------
>
>                 Key: WW-2456
>                 URL: https://issues.apache.org/struts/browse/WW-2456
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.11
>         Environment: wintel 
> java version "1.5.0_02"
> TC 5.5.17
> Struts-2.0.11
>            Reporter: Martin Gainty
>             Fix For: 2.1.3
>
>
> tags/ui/treeExampleDynamic.jsp doesnt render and hangs showcase-2.0.11 web application
> here are the contents of the jsp which doesnt render
> <%@taglib prefix="s" uri="/struts-tags" %>
> <html>
> <head>
> <title>Showcase - UI Tag Example - Tree Example (Dynamic)</title>
> <s:head theme="ajax" debug="true" />
> </head>
> <body>
> <!-- START SNIPPET: treeExampleDynamicJsp -->
> <script>
>     function treeNodeSelected(nodeId) {
>         dojo.io.bind({
>             url: "<s:url value='/tags/ui/ajax/dynamicTreeSelectAction.action' />?nodeId="+nodeId,
>             load: function(type, data, evt) {
>                 var displayDiv = dojo.byId("displayId");
>                 displayDiv.innerHTML = data;
>             },
>             mimeType: "text/html"
>         });
>     };
>     dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");
> </script>
> <div style="float:left; margin-right: 50px;">
> <s:tree 
>     theme="ajax"
>     rootNode="%{treeRootNode}" 
>     childCollectionProperty="children" 
>     nodeIdProperty="id"
>     nodeTitleProperty="name"
>     treeSelectedTopic="treeSelected">
> </s:tree> 
> </div>
> <div id="displayId">
> Please click on any of the tree nodes.
> </div>
> <!-- END SNIPPET: treeExampleDynamicJsp -->
> </body>
> </html>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message