Results 1 to 6 of 6

Thread: Spring ActionScript 0.8.1 Released

  1. #1
    Join Date
    Oct 2008
    Location
    Belgium
    Posts
    160

    Default Spring ActionScript 0.8.1 Released

    Dear Community,

    I’m pleased to announce that the Spring ActionScript 0.8.1 release is now available.

    This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions and is mainly a bugfix release based on user feedback, for which we are very grateful.

    For more info, please see the official announcement at http://www.herrodius.com/blog/208
    Christophe Herreman
    Spring ActionScript Founder
    http://www.herrodius.com

  2. #2
    Join Date
    Dec 2008
    Posts
    18

    Default

    I tried to update to 0.8.1 - what is the equivalent to:

    _applicationContext.stageWireObjectSelector = null;
    _applicationContext.stageObjectDefinitionResolver = null;

    if I do not need autowiring?

    Thanks,
    Peter

  3. #3
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default

    As explained in the note in this documentation section:

    Spring Actionscript Docs

    Its now just a question of setting the autoWireProcessor property on your applicationContext to null:

    Code:
    _applicationContext.autowireProcessor = null;

    Hope that helps,

    cheers,

    Roland

  4. #4
    Join Date
    Dec 2008
    Posts
    18

    Default

    That's what I figured - thanks.

    Peter

  5. #5
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default small addendum

    I just realized that by invoking this:

    Code:
    _applicationContext.autowireProcessor = null;
    will actually turn off autowiring completely, so also the autowiring of regular container objects, as opposed to just stage wiring.
    I've added an extra method to the IStageProcessorRegistry interface: unregisterStageProcessor(), so if you call this method in the FlexXMLApplicationContext's implementation like this:

    Code:
    applicationContext.unregisterStageProcessor(applicationContext.defaultAutowiringStageProcessorName);
    it will only remove the stage processor that handles the stage wiring, yet retaining autowire functionality for the container objects.

    Changes are available in the trunk...

    cheers,

    Roland
    Last edited by 666shooter; Sep 19th, 2009 at 08:56 AM.

  6. #6
    Join Date
    Dec 2008
    Posts
    18

    Default

    Thanks Roland, I'll take a look.

    Regards,
    Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •