Here's my code.
<head>
<s:head debug="true" theme="ajax"/>
<script language="JavaScript" type="text/javascript">
function treeNodeSelected(){
alert('Temporary like Achilles')
}
dojo.event.topic.subscribe("/treeSelected", this, "treeNodeSelected");
</script>
</head>
<body>
<s:tree id="contentTree"
theme = "ajax"
rootNode="%{category}"
childCollectionProperty="categoryList"
nodeIdProperty="id"
nodeTitleProperty="name"
toggle="expand"
toggleDuration="0"
treeSelectedTopic="/treeSelected"
>
</s:tree>
<div id=dojoDebugOutput></div>
</body>
</html>
I have a feeling that I'm missing some dependancy. Do i need anything
apart from the jars in the blank app?
Dave Newton wrote:
--- Manu Mahajan <[EMAIL PROTECTED]> wrote:
I'm using Tomcat 5.5
The code I posted is working for me; can you post your
current code? (Personally I won't have access to my
code until this evening, but maybe somebody else can
help.)
d.
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]