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 - undo of added event does not remove binding in JSP if in java source
Summary: undo of added event does not remove binding in JSP if in java source
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: _ deva
URL:
Keywords:
: 125437 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-02 23:51 UTC by bugbridge
Modified: 2008-01-18 22:32 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***