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

Summary: Usage of managed bean can't be found in JSP file
Product: javaee Reporter: Roman Mostyka <romanmostyka>
Component: RefactoringAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173299, 185422    

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.