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 - [71cat] misleading warning for listener
Summary: [71cat] misleading warning for listener
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Editing infrastructure (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 13:27 UTC by muellermi
Modified: 2014-10-06 13:25 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 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).