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 137467 - Usage of managed bean can't be found in JSP file
Summary: Usage of managed bean can't be found in JSP file
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks: 173299 185422
  Show dependency tree
 
Reported: 2008-06-17 16:59 UTC by Roman Mostyka
Modified: 2014-01-07 12:36 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 Roman Mostyka 2008-06-17 16:59:31 UTC
1. Create web application with "JSF" framework.
2. Add managed bean with name "NewJSFManagedBean".
3. Add public method test(), which return String, to the managed bean.
4. Open JSP file.
5. Write after <body> tag following:
"<h1><h:outputText value="#{NewJSFManagedBean.test"/></h1>".
5. Open NewJSFManagedBean. Rightclick and choose "Find Usages".

Result: Usage of NewJSFManagedBean os found in faces-config.xml (and can be found in opther beans), but isn't found in
JSP page.
Comment 1 _ potingwu 2008-06-17 17:59:45 UTC
This feature is not in the spec! We only support Find Usages between faces-config.xml and Java files.
Comment 2 Erno Mononen 2010-07-13 11:10:46 UTC
This is implemented in the jsf-el-parser branch, leaving open until I merge it to trunk.
Comment 3 Martin Fousek 2014-01-07 12:36:28 UTC
Fixed since nb70, closing.