File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes EL and autocomplete Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "EL and autocomplete" Watch "EL and autocomplete" New topic

EL and autocomplete

Sol Mayer-Orn
Ranch Hand

Joined: Nov 13, 2002
Posts: 311

My team is considering usage of EL, which we've never done before.
Up till now we used good old scriptlets/expressions - e.g. if we have a "User" bean, containing an "Address" bean, containing a "city" string, then:
- Currently we use <%= user.getAddress().getCity() %>
- Migrating to EL, it will become ${}

However, we're worried about code-asist (autocomplete).
Our beans are very complex, so my "user" bean would have about 15 attributes that are hard for programmers to remember.
With the old <%= user.x %> syntax , most IDEs offer code-asist (you just type "user." and see its attribute list).

Could anyone please tell of it's common practive among IDEs vendors, to support EL code-assist ?
We currently use Eclipse/MyEclipse, but we could migrate to another IDE (Intellij, Netbeans...) if that's what it takes to get code-assist.

I agree. Here's the link:
subject: EL and autocomplete
It's not a secret anymore!