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.
Summary: | CSS styles of selected element are not available in Facelets with *.xhtml servlet mapping | ||
---|---|---|---|
Product: | javaee | Reporter: | Martin Fousek <marfous> |
Component: | JSF Editor | Assignee: | Martin Fousek <marfous> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | denissilva, janario, pjiricka, rodrigorsantos |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Martin Fousek
2013-08-22 10:08:21 UTC
Now, I gave it try under debugger and I tried debug to the selection code and go through it. It looked to work pretty well and the style was really selected in CSS Styles and node in the Browser DOM. So I'm not able to reproduce it now, in the latest builds. It looks that it could be some temporary issue of the development build before. Janario, please could you give it try in the latest build [1]? I have few Facelets pages with HTML style definition and servlet mapping set to the *.xhtml: <link href="PATH_TO_FILE.css" type="text/css" rel="stylesheet" /> I'm able to use selection mode in the browser on the page elements and its styles are selected in the CSS Styles panel. This works on the HTML tags as well as Facelets components which uses classStyle attribute. Of cource the second issue #234776 about the outputStylesheet remains. [1] http://bits.netbeans.org/download/trunk/nightly/latest/ > Of cource the second issue #234776 about the outputStylesheet remains.
Sorry, this doesn't apply too. I'm not able reproduce both issues now. :/
I've added some information in the issue 234776 It doesn't match jsf resources because jsf renders with a suffix .xhtml and also a prefix from resources /javax.faces.resource/ e.g: <link type="text/css" rel="stylesheet" href="/JSFTest/javax.faces.resource/test.css.xhtml?ln=css" /> Should be fixed since web-main #b86611cc63d9. |