Nov 15 2008

Minor Update – 0.5.2

Category: Fabrication, Flex, PureMVCDarshan Sawardekar @ 9:17 am

I have fixed a small bug with the FabricationView. It was throwing an error when unloading modules. You can grab 0.5.2 from here.

8 Responses to “Minor Update – 0.5.2”

  1. gz says:

    I am having a problem with the resolve() in a tab navigator. I need to be able to use ids and names that are different in each view stack item. But my mediators fail to resolve if I do this. For my ids I would like to be able to use numbered naming like panel1, panel2, panel3. But I also would like to have unique names like Home, Contacts, Portfolio. This is because I am using swfaddress and would like to restore history actions directly using the name of a viewstack item. Currently if I use the name attribute it must be the same as the id assigned or things do not work. Thanks for any attention given to this post! And seriously great work. Fantastic stuff.

  2. gz says:

    Another thing I was noticing is that I cannot get the mx:States tag to work in a fab:FlexApplication class. Did I just wake up and forget everything I know today? I apologize if I am jsut missing something very very basic here.

  3. Darshan Sawardekar says:

    gz,

    Thanks for trying Fabrication.

    Regarding the resolve issue, There was an issue with Application States in Flex. The AddChild behaviour wasn’t bubbling up the child creation when the name and id were different. So I was renaming the name to the id internally. I will look into a better solution for this problem.

    Regarding the application states problem. Flex has a little difficulty figuring out mx:States in subclasses of mx:Application. You need to use fab:States tag instead. See the resolver_add_child demo[1]. It uses application states.

    [1] : http://fabrication.googlecode.com/svn/examples/resolver_add_child/src/main/flex/AddChildDemo.mxml

    peace,
    darshan

  4. Darshan Sawardekar says:

    On further investigation, the resolve issue looks like a bug with the ComponentResolver. I am working on fixing this.

  5. Darshan Sawardekar says:

    gz,

    I have fixed this on SVN. Can you please confirm that the fix solves the *resolve* bug with name and id in tags? I will make a minor release after that.

  6. gz says:

    Good stuff Darshan! Works like a charm :)
    I had not seen the new states classes for fab. I will look into these. Thanks again for a timely response and a great tool!

  7. Darshan Sawardekar says:

    I am glad you got it working. I will make minor release soon. Regarding the states classes, this is not something in Fabrication per se. fab:States is the same as mx:States, the namespace is fab to workaround Flex not recognizing states in subclasses.

  8. gz says:

    Thanks again for the help Darshan! Is there any estimate on when a new swc might be available? If it is okay to just compile one ourselves, let me know.

Leave a Reply