Help

Daniel Azarov have been busy the last few months improving our Find references and Refactoring support for JSF and Seam Expression Language (EL) references.

During that work Daniel created a few movies showing of the features and they are added to the individual jira's about the subject. I thought it would be nice to also get these shown to a broader audience - so here they are, for you to see.

If you want to try this use the M3 release or nightly builds of JBoss Tools.

Searching/Find references

Standard search (Ctrl+Shift+G) finds method references in EL

By using the standard Find references functionality EL expressions that refer to the method shows up next to java references.

Refactoring

Refactoring Demo - renaming the booking component to cooking. Shows how the rename of a component takes effect in both Java, components.xml, pages.xml and .xhtml files.

Notice how it handles changing default injection to explicit naming, i.e.

@In Booking booking;
needs to be changed to
@In(value\="cooking") booking;
to continue to work.

The following movies show a similar rename, just initiated from the components view instead and an example of what happens for read only files.

Rename Seam Component in Seam Components View

Rename component in read-only files

Renaming of EL variables used in Strings

These are for code that refers to EL inside Strings, for example

log.log("${user.name} did something")
. The demo shows this applied in various locations:

...in java editor

...in xml editor

...in properties editor

...in VPE editor

Have fun!

4 comments:
 
07. Oct 2009, 04:27 CET | Link
Thai Dang Vu

I'll be very glad if you guys can beat Intellij Idea in these kinds of refactoring (in Java code, xml & xhtml).

ReplyQuote
 
07. Oct 2009, 20:09 CET | Link
Adrian Mitev

OMG this new refactoring really rocks! Thank you for the great job guys!

 
07. Oct 2009, 21:35 CET | Link

Vu, then simply just open feature requests if you find something we don't do that someone else does :)

 

--max

 
13. Oct 2009, 16:23 CET | Link
Yosh
Great job!

Seam is getting a lot better the last months!
Post Comment