Saturday, June 16, 2012

NetBeans "Find Usage" Tools Integrates JSF Expression Language



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.


Hurray!






NetBeans "Find Usage" Tools Integrates JSF Expression Language https://blogs.oracle.com/geertjan/entry/netbeans_find_usage_tools_integrates

No comments: