WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 WebFXTreehandler bug?, Mehmet Ates, August 18, 2003
     Re:WebFXTreehandler bug?, Mehmet Ates, August 18, 2003
         Re:WebFXTreehandler bug?, Mehmet Ates, August 18, 2003

Subject: Re:WebFXTreehandler bug? From: Mehmet Ates Date: August 18, 2003

webFXTreeHandler.focus(document.getElementById(this.id.replace('-icon','-anchor')))

works ok but when i try use select method its buggy i think there is a mistake in webfxhandler.xx.select function but i couldnt find any errors..

p.s.  maybe its a dhtml error

 

From: Mehmet Ates
Sent: August 18, 2003
Subject: Re:WebFXTreehandler bug?

so stupid but when i do :

 "<img id=\"" + this.id + "-icon\" class=\"webfx-tree-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);alert(webFXTreeHandler.selected);alert(webFXTreeHandler.selected);\">"

so if i 2 times write it , in the first step writes previous , in the second writes current selected node .. is it a dhtml bug or script bug or my misunderstanding? ?

From: Mehmet Ates
Sent: August 18, 2003
Subject: Re:WebFXTreehandler bug?

hi again;

when i insert this line(above) to WebFXTreeItem.prototype.toString  and to the WebFXTree.prototype.toString  it shows previous selected item.. why is that ? i couldnt understand :

...  "<img id=\"" + this.id + "-icon\" class=\"webfx-tree-icon\" src=\"" + ((webFXTreeHandler.behavior == 'classic' && this.open)?this.openIcon:this.icon) + "\" onclick=\"webFXTreeHandler.select(this);alert(webFXTreeHandler.selected);\">" ...

i want that it shows the current selected div after it runs webFXTreeHandler.select(this)command but it always shows previous selected  item (if i select 1 2 3 it writes null 1 2 something like that) ... can u imagine why ? am i doing a stupid mistake somewhere ?

 






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