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 221448 - [73cat] goto declaration from JSF page
Summary: [73cat] goto declaration from JSF page
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 21:51 UTC by muellermi
Modified: 2012-12-13 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2012-11-04 21:51:46 UTC
Product Version = NetBeans IDE Dev (Build 201211040001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

within a JSF (Facelets) page, I can use autocompletition in EL, e.g.
myclass.{Ctrl-space}
displays a list of valid methods, properties etc.
To do this, NB has to inspect the source code.

--> Thus, it should be no problem to go to this source code (Ctrl-B, goto declaration)
Please, implement this very helpful feature!
Comment 1 muellermi 2012-11-25 22:17:47 UTC
I proposed to implement a goto declaration (Ctrl-B) from JSF page into source.
a) goto bean
b) goto method

Ed Burns (Spec lead JSF) showed me a) on his Apple and told me, it is working since at leat 7.1. (no function for b)
On Apple, you have to use a shortcut together with the command key.

Thus, it seems to be not an enhancement, but a defect.
b) still is an enhancement, but might be implemented when correcting this bug?
Comment 2 Marek Fukala 2012-11-26 15:49:25 UTC
Hyperlinking works fine for both BTW. I'll try to take a look why the goto declaration doesn't work.
Comment 3 Martin Fousek 2012-12-12 08:34:44 UTC
I didn't write anything new, I just reused hyperlink support which was already in place for resolving declarations. The CTRL + B shortcut is then used for that action by default.

Fixed in web-main #4ba359fc709f.
Comment 4 Quality Engineering 2012-12-13 02:38:33 UTC
Integrated into 'main-golden', will be available in build *201212130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4ba359fc709f
User: Martin Fousek <marfous@netbeans.org>
Log: #221448 - [73cat] goto declaration from JSF page