Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 214028 - Getter method in code completion for managed beans
Getter method in code completion for managed beans
Status: RESOLVED WONTFIX
Product: javaee
Classification: Unclassified
Component: Expression Language
7.2
PC Linux
: P3 (vote)
: 7.3
Assigned To: Marek Fukala
issues@javaee
:
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo