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.
Created attachment 107148 [details] screenshot Inside a composite component file, if I define attribute in <cc:interface> <cc:attribute name="helloWorldMsg" required="false"/> </cc:interface> and then I want to use it, <cc:implementation> <h1>#{cc.attrs.helloWorldMsg}</h1> ... The attribute is not offered after attrs.|, it is offered only when I invoke completion after cc.| (which doesn't work, at least for combination of Java6 and GlassFish 3.1
Info Product Version: NetBeans IDE 7.0 RC1 (Build 201103210000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
nasty regression, thanks for catching! Do you think it should be fixed for 7.0?
I'm not sure, I guess it could be, this is quite useful function
Hope it is not completely different issue... No when I try to do the same, invoke code completion in #{cc.| nothing is offered but only the attribute name (i.g. helloWorldMsg) defined above is auto completed.
Marek, I found this while testing issue #193228 , but I'm not sure if it's related... Sorry for missing info Product Version: NetBeans IDE Dev (Build 201103240400) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb)
(In reply to comment #5) > Marek, I found this while testing issue #193228 , but I'm not sure if it's > related... > No it is not.
*** Bug 198625 has been marked as a duplicate of this bug. ***
It happened in netbean 7.01, too.
How come this was reported 6 months ago and it is still open?
fixed in web-main#b9a5a8b9ae6d I'm sorry it took too long to fix.
You are a good man Marek ;)
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b9a5a8b9ae6d User: Marek Fukala <mfukala@netbeans.org> Log: #196910 - Composite Components and attribute code completion problem
verified Product Version: NetBeans IDE Dev (Build 201110040601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)