Mar 8th, 2010, 10:25 PM
Stage autowiring - what am I doing wrong
I have not been able to get stage autowiring to work, please let me know what I am doing wrong.
Here are the steps that I have completed:
1. Added the compiler option (I am using a Mac so I tried both options with no success).
2. Included the Autowiring processor in the application context:
<object id="autowiringStageProcessor" class="org.springextensions.actionscript.stage.Def aultAutowiringStageProcessor"/>
3. Added the [Autowired] metadata to a public property in my "LoginPanel".
4. Wired the controller object in the application context.
I successfully load both the XML and FlexXML application contexts.
I have tried adding the login panel to the application programmatically and through mxml to no avail.
Do you have any tips or tricks that I am missing?