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 170475

Summary: Code completion for action and valuechange listeners
Product: javaee Reporter: Michal Mocnak <mmocnak>
Component: JSF EditorAssignee: Denis Anisimov <ads>
Status: VERIFIED FIXED    
Severity: blocker CC: mfukala
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description Michal Mocnak 2009-08-17 15:22:17 UTC
Code completion for action and value change listeners doesn't work. If you have managed bean for with this method:

...
public void changeTemplate(ValueChangeEvent event) {
...

then if you call this managed bean in jsf page in selectOneMenu component it should be cced:

...
<h:selectOneMenu valueChangeListener="#{MyBean.changeTemplate}"
...

==> I can see MyBean in cc context menu but i cannot see changeTemplate method in that menu ... same problem for actionListeners in commandButton 
components
Comment 1 Michal Mocnak 2009-08-17 15:28:06 UTC
It is functional for jsp files not in xhtml
Comment 2 Denis Anisimov 2009-08-24 12:32:49 UTC
Please provide information how your MyBean is defined for usage in JSF.
Is it jsp declaration via "jsp:useBean" or faces-config.xml/annotation declaration?

I'm not sure about "jsp:useBean" declaration . Probably it should not work in this case.
For faces-config.xml/annotation cases currently CC of any method is implemented 
( not only event listeners ).

So this could be not an issue already.
Comment 3 Marek Fukala 2009-08-24 13:16:47 UTC
>I'm not sure about "jsp:useBean" declaration . Probably it should not work in this case.
I also think it should not work for this case.
Comment 4 Denis Anisimov 2009-08-25 09:03:12 UTC
There is no response from user respectively bean declaration.
As I mentioned before JSF beans have currently completion for any method.
So I'm closing this issue.
Comment 5 Michal Mocnak 2009-11-26 03:03:17 UTC
Verified