Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Netdiagram v2.1 (Read 2364 times)
rjulianc
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Jan 7th, 2009
Netdiagram v2.1
Jan 7th, 2009 at 4:31am
Print Post  
Hi I've just upgraded my application to use NetDiagram 2.1, as it says it supported Java 6 updates 10 and 11 JRE version.

but after the upgrade I get:

java.lang.NoSuchFieldException: getShadowColor in class: com.mindfusion.diagramming.ShapeNode

java.lang.NoSuchFieldException: getKeyCode in class: java.awt.event.KeyEvent

My application rely heavily on clientside javascript, and who knows how many other errors it produce after the upgrade, it was working perfectly with the older version. 

What do I need to do fix this? does this mean I have to redo all the javascript codes to reflect to the new version?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Netdiagram v2.1
Reply #1 - Jan 7th, 2009 at 8:22am
Print Post  
Code
Select All
function onNodeClicked(sender, args)
{
	// this works
	var color = args.getNode().getShadowColor();
	alert(color);

	// this throws an exception
	var color2 = args.getNode().getShadowColor;
	alert(color2);
}
 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
rjulianc
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Jan 7th, 2009
Re: Netdiagram v2.1
Reply #2 - Jan 8th, 2009 at 6:13am
Print Post  
This is working, thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint