This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 94182

Summary: undo of added event does not remove binding in JSP if in java source
Product: obsolete Reporter: bugbridge <bugbridge>
Component: visualwebAssignee: _ deva <deva>
Status: NEW ---    
Severity: blocker CC: sandipchitale
Priority: P2    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description bugbridge 2007-02-02 23:51:00 UTC
Description:
Testing using Thresher and 2nd release of AJAX components.
Likely this works for any component, but I have not tried it.

Steps:
drop a progress bar
double click it
> this takes you to the Java editor
edit undo
click on the edit menu again
> notice no more undos are possible

switch back to design view
> the action property for the progress bar is still bound to a new event method

Evaluation:
This is a known issue. You should be able to reproduce the same problem with a 
Button also. In the current implementation, undo doesn't span .java and .jsp. 
You will have to do undo on .jsp separately to remove the code

Evaluation (Entry 2):
The behaviour is expected as per current design, therefore changing it to RFE

Workaround:
Switch to JSP view and do the undo
Comment 1 _ deva 2008-01-18 22:32:47 UTC
*** Issue 125437 has been marked as a duplicate of this issue. ***