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.
Product Version = NetBeans IDE Dev (Build 201212220001) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_10 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.6-b04 given a bean "AdminController" with a method public String addReview(int bookId, Language lang) { ... } This method is referred from a JSF page <h:commandLink action="#{adminController.addReview(book.id, 'de')}" ... /> This is legal code and it's working properly. But - NetBeans alerts "unknown property addReview" - placing the caret onto addReview and pressing Ctrl-B does not work. NetBeans must - recognize addReview as a method (not as property) - goto declaration
Created attachment 129675 [details] IDE log
Thanks muellermi for reporting. How do you converts your 'de' string to the Language class? Ideally could you attach whole sample project you were trying? Thanks...
As Martin pointed out, there's a problem with matching the method according to its signature, both problems (false error + the malfunctioning goto declaration) are the effect.
muellermi please could you help us and provide information requested in comment#2? Thanks a lot.
Muellermi please could you comment to the comment #2 and reopen the issue then? We have to know your way how is the string mapped to the Language class in the runtime to be able to support this within the JSF editor. Thanks a lot in advance.