简体   繁体   中英

Eclipse: Autocompletion for Spring beans in Spring WebFlow?

I am using Spring Web Flow 1.0 and Spring 2.0 (beans are defined in XMLs).

In eclipse (Indigo 3.7), I'd like to enable autocompletion for my beans when writing web flows. I am already using Spring IDE plugin.

Example (I'd like to prompt autocompletion for action - bean and method):

<action-state id="doDeleteSelection">
        <action bean="pm.TypoController" method="doDeleteElement" />
        <transition to="elements" />
</action-state>

Is this possible?

Yes. This behavior is available in the Spring WebFlow editor. SpringIDE provides basic WebFlow editing using this editor. If you want a more sophisticated graphical editor, then you should download SpringSource Tool Suite:

http://www.springsource.com/developer/sts

It is possible to install STS into an existing Eclipse instance.

I must say that I am a little surprised that you are not finding this feature since the use of the webflow editor should be default for all webflow files. Perhaps there is another problem going on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM