MyEclipse: Code completion, navigation in EL and configuration files

dxxvi - Jan 20, 2009 - 07:20 AM
Post subject: Code completion, navigation in EL and configuration files
I'm considering switching from Idea to MyEclipse but I'm still not sure about some MyEclipse's features. So, I'd like to ask some questions:

1) Does MyEclipse 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 MyEclipse 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 MyEclipse 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.
support-nipun - Jan 20, 2009 - 08:01 PM
Post subject: RE: Code completion, navigation in EL and configuration file
1. Yes. It has been pointed out in this tutorial:-
http://www.myeclipseide.com/documentation/quickstarts/jsf_overview/

2. This is not supported.

3. This is not supported.

4.
Quote:

If I ctrl+click on a bean name in EL, will I be taken to the bean definition in the faces-config.xml file?

It will take you to the Java source file directly.

Quote:

And in the faces-config.xml file, if I ctrl+click on the class name, will I be taken to the Java source file?

This is not supported.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits