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 - Code completion for action and valuechange listeners
Summary: Code completion for action and valuechange listeners
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 15:22 UTC by Michal Mocnak
Modified: 2009-11-26 03:03 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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