Announcement Announcement Module
No announcement yet.
Web Flows: Auto-complete in <evaluate expression="..."/>? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web Flows: Auto-complete in <evaluate expression="..."/>?

    I am using STS 2.3.0.RELEASE.

    I am looking at the swf-booking-faces sample project that is part of the SWF distribution.

    I get "Content Assist not available at the current location" when I open a flow xml file in the "Spring Web Flow XML Editor" (for example "booking-flow.xml"), edit the "expression" attribute of an "evaluate" tag and try CTRL+SPACE for content-assist.

    Is this the expected behavior? It would be a major limitation (compared to the usual editing of Java code).

  • #2
    That is the expected behavior how should it know what to do, which beans to expose, which expression to use. It is a limitation not from STS but more or less from the XML editor shipped with eclipse.


    • #3
      I used the "Spring Web Flow XML Editor", not the generic Eclipse XML editor.

      I would expect refactoring support and content assist for all expressions that are interpreted at runtime as references to Java classes / methods.


      • #4
        Which is nothing more then an extenstion to the default xml editor. As you already state they are interpreted at RUNTIME so there is no way to interpret them at design time, if that would be the case there would already be that support for JSP/JSF/XML and all other expression language builders, but alas....


        • #5
          It must be possible since IntelliJ does it: