Announcement Announcement Module
Collapse
No announcement yet.
Spring actionscript autowire Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring actionscript autowire

    Hi,

    i have been reading the docs and something that i dun understand about this autowire.

    Autowire is to allow developers to inject models into views.

    the reason because sometimes the models had other dependencies, right?

    but if i do not want to use autowiring, whats the other method that can allow me to do an inject into views with the model that had a dependency on other models/service ?

    Regards
    Roy

  • #2
    object definitions

    By not wanting to use autowiring I am supposing you don't want to use the [Autowired] metadata, right?

    Well, the other method is to create XML object definitions for your views that describe your dependencies (just like you create them for 'regular' objects).

    Please refer to this doc section as to how this works exactly:

    http://www.springactionscript.org/do...tage_component

    hope that helps,

    cheers,

    Roland

    Comment

    Working...
    X