WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 new xloadtree.js file damaged function, Micha Schopman, June 18, 2003
     Re:new xloadtree.js file damaged function , Micha Schopman, June 18, 2003
         Re:new xloadtree.js file damaged function , Erik Arvidsson, June 18, 2003
     Re:new xloadtree.js file damaged function , Micha Schopman, June 18, 2003
     Re:new xloadtree.js file damaged function, Erik Arvidsson, June 18, 2003

Subject: Re:new xloadtree.js file damaged function From: Micha Schopman Date: June 18, 2003

I posted a question some time ago on the webboard, how to get custom XML attributes read from the xtree xml datasource.

You gave me the tip to use for example:

tree.getSelected().xmlNode.getAttribute("instanceid")

When I have for example this as the xml source:

<?xml version="1.0" ?>

<tree
   text="my tree node"
   icon="icon.png"
   openIcon="icon.png"
   instanceid="12">

</xml>

I have used this method eversince you gave me that tip :o) I did not even build it :D

From: Micha Schopman
Sent: June 18, 2003
Subject: Re:new xloadtree.js file damaged function

I just downloaded the xtree with the target updates, to be updated. Normally I use the following line to check if the selected node is the root. The node has to be declared static, so it has no XML nodes. On a normal node this line returns true.

With the new xloadtree.js this functionality does not work, I then overwritten the new xloadtree.js with an older one, and it works again. Maybe something damaged with the new target update?

tree.getSelected().xmlNode

 





Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX