Nov 26th, 2010, 03:02 AM
Spring actionscript autowire
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 ?
Nov 26th, 2010, 04:50 AM
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:
hope that helps,