X

Geertjan's Blog

  • June 16, 2012

NetBeans "Find Usages" Tool Integrates JSF Expression Language

Geertjan Wielenga
Product Manager

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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.