Title: Not working with Flex 4 SDK Post by: mellomike on July 30, 2009, 03:57:38 Just tried to make a flex 4 app using Fabrication and it throws an error whenever a respondTo is used in a Mediator.
Title: Re: Not working with Flex 4 SDK Post by: gregbown on July 30, 2009, 05:06:35 I'm not sure if it is related but I just ran into a similar issue. It turned out to be in FabricationMediator line 292 var respondToMethodsCount:int = respondToMethods.children().length();
In the debug length was 8 but the actual xmllist was 3. I took out children() and it started working? like so var respondToMethodsCount:int = respondToMethods.length(); The only thing I can assume is perhaps something is changed in how FB 4 handles xmllist or reflection in general. In my case the swf wouldn't even render so I followed the debug error to the listNotificationInterest function in FabricationMediator Title: Re: Not working with Flex 4 SDK Post by: mellomike on July 30, 2009, 05:38:10 wow!! that fixed the problem!! Thanks so much!!
Title: Re: Not working with Flex 4 SDK Post by: mellomike on July 31, 2009, 07:39:34 Are there any other known Fabrication issues when using the Flex 4 SDK??
Title: Re: Not working with Flex 4 SDK Post by: mellomike on July 31, 2009, 07:45:10 reactTo doesn't seem to work with Flex 4
Here is the error: "TypeError: Error #1010: A term is undefined and has no properties." happening in FabricationMediator.as line 483 ... which is "handlerName = reactionMethods.@name" Title: Re: Not working with Flex 4 SDK Post by: mellomike on July 31, 2009, 09:21:11 ok the reactionTo problem was the same as the respondTo
You have to removed "children()" from reactionToMethods.children().length(); Title: Re: Not working with Flex 4 SDK Post by: Jason MacDonald on July 31, 2009, 09:24:00 I'm sadden to say this, but I think Darshan has abandon Fabrication (and perhaps PMVC in general). I haven't seen him around in months and there's been no activity on his blog either :(
Anyone want to pick-up the torch and continue the work to upgrade fabrication to work with Flex 4? Title: Re: Not working with Flex 4 SDK Post by: mico on June 04, 2010, 04:31:52 It is very sad, that Fabrication is not supported anymore. Hope someone with the right skills and knowledge will continue the good thing.
|