Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 239818 - [80cat] create method
[80cat] create method
Status: REOPENED
Product: javaee
Classification: Unclassified
Component: JSF Editor
8.2
All All
: P3 with 2 votes (vote)
: 8.0.1
Assigned To: Martin Fousek
issues@javaee
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-26 22:27 UTC by muellermi
Modified: 2016-08-04 21:33 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2013-12-26 22:27:04 UTC
Product Version = NetBeans IDE Dev (Build 201312250002)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.0-b61

if I have some code like
  login.login()
and the method login does not exists within the class, then NB offers the chance to create this missing method.

Within a JSF page, this feature does not work

<h:commandButton action="#{login.login}" value="Login"/>

NB alerts "unknown property login" and offers some actions like "add surrounding tag".
NB shall offer the action "create method login in class Login"

The action depends on the context, e.g.

            <h:inputText id="email" value="#{login.email}"/>

NB shall offer the action "create getter/setter methods for property email in class Login"

action: method of type void
actionListener: method with parameter
value: getter/setter of default type string
...
Comment 1 Martin Fousek 2014-01-03 07:56:19 UTC
That's really good idea - thank you Muellermi for the issue. It's not allowed to implement enhancement in this development phase so I'm targeting that to the Next.
Comment 2 muellermi 2014-01-06 12:57:15 UTC
Usuall in source code the create method is available. Thus, we may declare this as bug rather then an enhancemen? ;-)
Comment 3 Chiana 2014-01-10 04:37:35 UTC
(In reply to muellermi from comment #2)
> Usuall in source code the create method is available. Thus, we may declare
> this as bug rather then an enhancemen? ;-)

I'll second that...
Comment 4 Martin Balin 2016-07-07 08:56:06 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 5 markiewb 2016-07-10 20:49:52 UTC
@Micha: Still relevant?
Comment 6 muellermi 2016-08-04 21:33:00 UTC
still valid, reopened


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