NetBeans "Find Usages" Tool Integrates JSF Expression Language
Posted
by Geertjan
on Oracle Blogs
See other posts from Oracle Blogs
or by Geertjan
Published on Sat, 16 Jun 2012 21:01:58 +0000
Indexed on
2012/06/17
3:22 UTC
Read the original article
Hit count: 242
/NetBeans IDE
I saw this by Adam on Twitter today:
Interesting. Let's try it. Here's my method "getCustomerId". I select it, right-click, and choose "Find Usages" (or press Alt-F7):
A nice dialog appears:
Then click "Find" and, guess what, this is what I see (click to enlarge it):
Clearly, as you can see, I'm not only finding the Java controller class where the getter is used, but also the Facelets files, and, within those, the exact lines where the JSF expression language makes use of the getter.
This is not a new feature, tried it and got the same result in 7.1.1, but it's really cool to know about nonetheless.
© Oracle Blogs or respective owner