Announcement Announcement Module
Collapse
No announcement yet.
depends-on Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • depends-on

    Hello,

    in my current project I'm trying to use the Spring Actionscript framework.

    Is it possible to force one or more objects to be initialized before the object using this element is initialized?

    In Java we have the "depends-on" attribute for such cases.

    Thank you!

    hanso

  • #2
    If I remember the docs correctly, the library initializes the items in the order they are defined in the applicationContext.xml file. Top to bottom, nested to parent.

    So all you have to do is order the items you want initialized first, and then use <ref> elements to point to them.

    Adam

    Comment


    • #3
      Hi,

      there currently is no support for depends-on. References will be successfully handled though, but then of course you have to explicitely reference the dependencies in the context with the ref keyword.

      Please file a feature request in the Jira: http://jira.springframework.org/brow...ACTIONSCRIPTAS I'll take a look at it asap.

      regards,
      Christophe

      Comment

      Working...
      X