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 226163 - Selection/Document tabs missing in CSS Styles window for index.html from Java web project
Summary: Selection/Document tabs missing in CSS Styles window for index.html from Java...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on: 226190
Blocks:
  Show dependency tree
 
Reported: 2013-02-15 10:08 UTC by Petr Jiricka
Modified: 2013-02-15 16:44 UTC (History)
0 users

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 Petr Jiricka 2013-02-15 10:08:48 UTC
1. Create a HTML5 project Prj1
2. Create a Java EE 7 web project Prj2 (this will now create index.html)

=> If index.html from Prj1 is focused, the CSS Styles window has 2 tabs: Selection and Document. However, if index.html from Prj2 is focused, it has only 1 tab. 
Next, the contents of this tab (pane) is determined by the recently selected tab in index.html from Prj1 (so if you select Document when Prj1's index.html is active and then switch to Prj2's index.html, it will show the Document content, and same if Selection was selected).
Finally, if Selection was selected, then there is the button "Run index.html", but this is enabled for Prj1's index.html and disabled for Prj2's index.html.
Comment 1 Jan Stola 2013-02-15 14:43:28 UTC
Fixed - Selection section of CSS Styles view should work in Web project by now.

Modified file: http://hg.netbeans.org/web-main/rev/f51b0f19c9f9