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 253032 - NB does not recognize 2nd style for colums
Summary: NB does not recognize 2nd style for colums
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 21:30 UTC by muellermi
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (137.70 KB, text/plain)
2015-06-16 21:30 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2015-06-16 21:30:19 UTC
Product Version = NetBeans IDE Dev (Build 201506160001)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02


Given a JSF / Facelets page with a table

<h:dataTable styleClass="standardTable" headerClass="list-header" value="#{bookEditor.book.reviewLinks}" var="review" width="100%" rowClasses="row1, row2" columnClasses="colSmall, colAuto">

Now try to goto definition for the styles (by placing the caret onto the style name and pressing Ctrl-b)
Everything works fine except columnClasses -> colAuto or whatever you use a second (third, ...) class. 
This affects only the columnClasses. rowClasses are fine.
Comment 1 muellermi 2015-06-16 21:30:26 UTC
Created attachment 154258 [details]
IDE log
Comment 2 Petr Hejl 2015-06-30 10:39:02 UTC
Can you share the (sample) project for testing? I'm not able to reproduce this.
Comment 3 muellermi 2015-06-30 20:42:30 UTC
I'll give a try...
Comment 4 muellermi 2015-06-30 21:15:15 UTC
[To late today for a full demo project.]
But here is a related problem, which is reproducible in every page:

styleClass="baseStyle"

Ctrl+B goes to the CSS definition (if CSS is defined)

Now, this shall be altered, depending on some value.
Assume some styles like
.cloud1 {...}
.cloud2 {...}
...

Now, you would dynamically access one of them as second style (which is fine at runtime)

styleClass="baseStyle cloud#{category.quantityClass}"

Now, if you place the pointer onto baseStyle and press Ctrl+B, nothing happens.
Comment 5 Martin Balin 2016-07-07 08:54:25 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss