-----Original Message-----
From: David Levine [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 8:15 AM
To: '[EMAIL PROTECTED]'
Subject: Javascript error using tree control
I am new to using tacos, and I think I'm making a basic configuration error
somewhere. I've got a test page in my project with the progress indicator
working perfectly. This tells me I did most of the configuration stuff
properly, like modifying my border component and putting the dojo classes in
properly. I'm trying to add a Tacos:Tree to the same page that works fine
with the tacos:ProgressBar indicator, using the TreeExample as a starting
point. So a fragment of my html looks like this:
<div id="treeArea">
<div jwcid="tree" id="tree">
<span jwcid="nodeLink">
<span jwcid="icon" align="absbottom"/>
<span jwcid="nodeLabel"/>
</span>
</div>
</div>
When I run the page, I get a javascript error saying this.titleBar.style is
null or not an object, on this line of code:
this.titleBar.style.display="";
This is from the floatingPane class of dojo. Inspecting the javascript
variables near this line of code shows me that the self object is missing
most of the values it should have, as if it's not been setup properly.
I can run the tacos tree control demo just fine when I deploy the tacos
project to tomcat, but when I try to port the tree example into my own
project I get the above mentioned javascript error.
I think I have all the appropriate stuff in my .page file and backing java
class - just copied over from the tree example. Won't paste here to make
this posting shorter.
Any help would be very much appreciated.
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel