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 214028 - Getter method in code completion for managed beans
Summary: Getter method in code completion for managed beans
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-12 09:38 UTC by Vladimir Riha
Modified: 2012-10-10 13:07 UTC (History)
1 user (show)

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 Vladimir Riha 2012-06-12 09:38:57 UTC
To reproduce:
- create new Java Web App with JSF framework
- create new managed bean ("mybean")
- add String property ("foo") to the bean and create setters/getters
- in JSF page (xhtml), type
#{mybean.}

- invoke cc after "."
=> 2 items are offered: setter and "foo", but getter is not in the list

As discussed, current solution works but it is "strange" that setter is offered and getter not.

Product Version: NetBeans IDE Dev (Build 201206100001)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Comment 1 Marek Fukala 2012-10-10 13:07:31 UTC
per design