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 203970

Summary: [71cat] misleading warning for listener
Product: web Reporter: muellermi <muellermi>
Component: Editing infrastructureAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description muellermi 2011-10-19 13:27:37 UTC
Product Version = NetBeans IDE Dev (Build 201110180600)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

JSF page:
valueChangeListener="#{editUserMaintenance.valueChanged}"

Bean:
    public void valueChanged(ValueChangeEvent event){...}

In the editor NB displays a warning "unknown property".
Right, ther is no such property. 
A valueChangeListener is never bound to an property, but a method.
--> If element is a listener, don't check for properties. Check for method (with correct signature if possible).