Screwy event handling NetBeans 6.0.1 w/ Tomcat 6

View: New views
1 Messages — Rating Filter:   Alert me  

Screwy event handling NetBeans 6.0.1 w/ Tomcat 6

by TedByers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On a new project, with a page that has two drop down controls it seems that either netbeans or tomcat gets confused about which event handlers to use.  These two controls, initially used the same data source (from a lookup table in the DB), and then I tried creating two identical datasources (i.e. different names on the client, but the same table in the DB).  What invariably happens is that regardless of which drop down I use, the value changed event handlers for BOTH controls is executed.  I have added code to prevent this from crashing the app, but it is annoying that both event handlers are called regardless of which drop down has actually had its value changed.

I have never seen this happen before.  Any thoughts on what has gone awry and how to fix it?

Thanks

Ted