2 Replies Latest reply on Jan 20, 2009 6:26 AM by Max Rydahl Andersen

    Code completion, navigation in EL and configuration files

    Thai Dang Vu Apprentice

      I'm considering JBoss Tools as a replacement for MyEclipse which is very disappointing. I haven't used JBoss Tools before. These are my questions:

      1) Does JBoss Tools support code completion/suggestion in EL? For example, I have a JSF-managed bean named `bean'; is there a code completion when I type `<h:outputText value="#{bean.' in a xhtml file?

      2) If code completion is supported in EL, does JBoss Tools supports code completion for variables defined with <c:set>? For example with the JSF-managed bean above, if I write `<c:set var="x" value="#{bean}"/>', is there code completion when I type `<h:outputText value="#{x.'?

      3) Does JBoss Tools support refactoring in EL? For example, I have a JSF-managed bean named `bean' which has a member variable named `prop1' and getter and setter methods (getProp1 and setProp1); in the xhtml file, I have `<h:outputText value="#{bean.prop1}"/>'; if I change `prop1' to `property1', will the setter and getter method names change too? and will the `prop1' in EL change to `property1'?

      4) If I ctrl+click on a bean name in EL, will I be taken to the bean definition in the faces-config.xml file? And in the faces-config.xml file, if I ctrl+click on the class name, will I be taken to the Java source file?

      Thanks.