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 62307 - Save action disabled for JSP and HTML files
Summary: Save action disabled for JSP and HTML files
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
: 62366 62402 62481 (view as bug list)
Depends on:
Blocks: 62440
  Show dependency tree
 
Reported: 2005-08-15 16:00 UTC by Jiri Skrivanek
Modified: 2005-09-05 10:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2005-08-15 16:00:55 UTC
It is impossible to save JSP or HTML document except using "Save All" action.
Save actions is always disabled. To reporduce:

- create web application
- modify index.jsp
- * in editor shows it is modified but save action is disabled (File|Save). Only
File|SaveAll is available.

Build 20050815-1317, WindowsXP, JDK1.5.0_04.
Comment 1 Jiri Skrivanek 2005-08-16 15:27:42 UTC
Also other actions like Cut, Copy, Paste, ... are disabled for JSP and HTML
files. Possibly it has the same reason.
Comment 2 Marek Fukala 2005-08-16 15:46:01 UTC
Very likely caused by Libor's latest changes related to j2ee palette. There
seems to be a problem with the activated nodes in TC => reassigning.
Comment 3 zikmund 2005-08-16 16:19:40 UTC
*** Issue 62366 has been marked as a duplicate of this issue. ***
Comment 4 zikmund 2005-08-16 18:28:05 UTC
*** Issue 62402 has been marked as a duplicate of this issue. ***
Comment 5 zikmund 2005-08-17 07:55:22 UTC
It is Q-build stopper. Please fix it ASAP. QE will test the fix in trunk and
then it can be integrated into Q-build branch.
Comment 6 Libor Kotouc 2005-08-17 09:57:39 UTC
Fixed.

Checking in HtmlEditorSupport.java;
/cvs/html/src/org/netbeans/modules/html/HtmlEditorSupport.java,v  <-- 
HtmlEditorSupport.java
new revision: 1.12; previous revision: 1.11
done

Checking in BaseJspEditorSupport.java;
/cvs/web/core/src/org/netbeans/modules/web/core/jsploader/BaseJspEditorSupport.java,v
 <--  BaseJspEditorSupport.java
new revision: 1.51; previous revision: 1.50
done
Comment 7 Jiri Kovalsky 2005-08-17 12:58:44 UTC
*** Issue 62481 has been marked as a duplicate of this issue. ***
Comment 8 zikmund 2005-08-17 12:59:23 UTC
*** Issue 62481 has been marked as a duplicate of this issue. ***
Comment 9 Jiri Skrivanek 2005-08-17 13:38:45 UTC
Works in build 20050817-1133. Please, merge the fix to Q-build branch.
Comment 10 Libor Kotouc 2005-08-17 15:41:01 UTC
Fixed in branch QBE200508161800.

Checking in html/src/org/netbeans/modules/html/HtmlEditorSupport.java;
/cvs/html/src/org/netbeans/modules/html/HtmlEditorSupport.java,v  <-- 
HtmlEditorSupport.java
new revision: 1.11.2.1; previous revision: 1.11
done
Checking in
web/core/src/org/netbeans/modules/web/core/jsploader/BaseJspEditorSupport.java;
/cvs/web/core/src/org/netbeans/modules/web/core/jsploader/BaseJspEditorSupport.java,v
 <--  BaseJspEditorSupport.java
new revision: 1.50.2.1; previous revision: 1.50
done
Comment 11 Jiri Skrivanek 2005-08-18 08:34:23 UTC
Verified.