<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Forums: Recent Posts</title>
<link>http://mate.asfusion.com/forums/</link>
<description>Forums: Recent Posts</description>
<language>en</language>
<pubDate>Fri, 30 Jul 2010 01:17:44 +0000</pubDate>

<item>
<title>novamatt on "Extended RemoteObjectInvoker and HTTPServiceInvoker to support preloaders"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=944#post-3979</link>
<pubDate>Thu, 29 Jul 2010 10:04:39 +0000</pubDate>
<dc:creator>novamatt</dc:creator>
<guid isPermaLink="false">3979@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Thanks dude this is awesome and it works like a charm !
&#60;/p&#62;</description>
</item>
<item>
<title>n8o on "WebServiceInvoker"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1044#post-3978</link>
<pubDate>Thu, 29 Jul 2010 00:23:37 +0000</pubDate>
<dc:creator>n8o</dc:creator>
<guid isPermaLink="false">3978@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Currently WebServiceInvoker uses..&#60;/p&#62;
&#60;p&#62;import mx.rpc.soap.mxml.WebService;&#60;/p&#62;
&#60;p&#62;Are there any reasons why it isn't using mx.rpc.soap.WebService ?&#60;br /&#62;
Currently HTTPServiceInvoker uses mx.rpc.http.HTTPService.&#60;/p&#62;
&#60;p&#62;If there are no apparent reasons for this. Can we switch it to mx.rpc.soap.WebService? I've made some initial test with a local copy of mate using mx.rpc.soap.WebService and everything works fine.
&#60;/p&#62;</description>
</item>
<item>
<title>jbuda on "Access Application from a Manager"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1043#post-3977</link>
<pubDate>Wed, 28 Jul 2010 16:34:14 +0000</pubDate>
<dc:creator>jbuda</dc:creator>
<guid isPermaLink="false">3977@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hi there&#60;/p&#62;
&#60;p&#62;Im trying to access the current url that my Flex application is on. I have read that you can get to the current url from this :&#60;/p&#62;
&#60;p&#62;[code]URLUtil.getServerName(Application.application.loaderInfo.url)[/code]&#60;/p&#62;
&#60;p&#62;However, when listening to the Application Creation Complete event with the event map, i cannot access the Application scope with the Manager.as file that i invoke a method on.&#60;/p&#62;
&#60;p&#62;Is there something i am missing, or is there a clever Mate way that this can be achieved.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>timluo on "Injectors into multiple instances"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1015#post-3976</link>
<pubDate>Wed, 28 Jul 2010 11:12:14 +0000</pubDate>
<dc:creator>timluo</dc:creator>
<guid isPermaLink="false">3976@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;P.S. &#60;/p&#62;
&#60;p&#62;I'm using FlexMdi. in order not to create a new class of MDIWindow every time click the link, I'm trying to have a single instance of each MDIWindow. sometime MDIWindow shares the same view but in different states.
&#60;/p&#62;</description>
</item>
<item>
<title>timluo on "Injectors into multiple instances"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1015#post-3975</link>
<pubDate>Wed, 28 Jul 2010 09:08:08 +0000</pubDate>
<dc:creator>timluo</dc:creator>
<guid isPermaLink="false">3975@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;hi,&#60;/p&#62;
&#60;p&#62;This post is closest to my problem (different View instance with different PMClass ).&#60;br /&#62;
the difference is that I tried to instantiate multiple View from a non-displayobject (Manager),&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;var instance1:View = new View();
mdiWindow1.addChild(instance1);

var instance2:View = new View();
mdiWindow2.addChild(instance2);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;those two mdiWindow will be added to display object later.&#60;/p&#62;
&#60;p&#62;and i followed the solution here, but the problem is that it never triggers &#38;lt;Injectors&#38;gt; tags, which means it's just view without PM attached.&#60;br /&#62;
I read some comments below, which states that &#34;creationComplete&#34; event will instantiate the &#38;lt;Injectors&#38;gt;:&#60;br /&#62;
 &#60;a href=&#34;http://blog.iconara.net/2008/05/06/mate-an-unobtrusive-flex-application-framework/&#34; rel=&#34;nofollow&#34;&#62;http://blog.iconara.net/2008/05/06/mate-an-unobtrusive-flex-application-framework/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Doesn't it trigger the creationComplete in actionscript when&#60;br /&#62;
&#60;code&#62;var instance1:View = new View()&#60;/code&#62;&#60;br /&#62;
???&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
tim
&#60;/p&#62;</description>
</item>
<item>
<title>flexdeveloper_2010 on "New to Mate: Trying to parse XML from HTTPServiceInvoker"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1042#post-3931</link>
<pubDate>Sun, 25 Jul 2010 18:10:08 +0000</pubDate>
<dc:creator>flexdeveloper_2010</dc:creator>
<guid isPermaLink="false">3931@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Here is the code in my event map calling the HTTPServiceInvoker and the injector tag:&#60;/p&#62;
&#60;p&#62;&#38;lt;EventHandlers type=&#34;{FlexEvent.CREATION_COMPLETE}&#34; debug=&#34;true&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;				 &#38;lt;HTTPServiceInvoker instance=&#34;{Data1}&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;					&#38;lt;resultHandlers&#38;gt;&#60;br /&#62;
						&#38;lt;MethodInvoker generator=&#34;{XMLManager}&#34; method=&#34;parseXML&#34; arguments=&#34;{[resultObject]}&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;			&#38;lt;/resultHandlers&#38;gt;&#60;br /&#62;
				&#38;lt;/HTTPServiceInvoker&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;/EventHandlers&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;Injectors target=&#34;{MessagePanel}&#34; start=&#34;trace('injected started')&#34; &#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;PropertyInjector source=&#34;{XMLManager}&#34; sourceKey=&#34;value&#34; targetId=&#34;myGrid&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;/Injectors&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;mx:HTTPService id=&#34;Data1&#34; url=&#34;http://127.0.0.1/test.xml&#34;  resultFormat=&#34;e4x&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;Here is my class called &#34;XMLManager&#34; code:&#60;/p&#62;
&#60;p&#62;package com.market.bi.business&#60;br /&#62;
{&#60;br /&#62;
	import mx.collections.XMLListCollection;&#60;br /&#62;
	import mx.rpc.events.ResultEvent;&#60;/p&#62;
&#60;p&#62;	public class XMLManager&#60;/p&#62;
&#60;p&#62;	{&#60;/p&#62;
&#60;p&#62;		[Bindable]&#60;br /&#62;
		public var value:XMLListCollection = new XMLListCollection();&#60;/p&#62;
&#60;p&#62;		public function parseXML(e:ResultEvent)	{&#60;/p&#62;
&#60;p&#62;			var tempData:XMLList = new XMLList();&#60;br /&#62;
			    tempData = e.result.node.field_it_report_graphic_fid;&#60;br /&#62;
			    value.source = tempData;&#60;/p&#62;
&#60;p&#62;			    return value;&#60;/p&#62;
&#60;p&#62;		}&#60;/p&#62;
&#60;p&#62;	}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;Here is my view called &#34;MessagePanel&#34; :&#60;/p&#62;
&#60;p&#62;	[Bindable]&#60;br /&#62;
		public var value:String;&#60;/p&#62;
&#60;p&#62;	&#38;lt;mx:DataGrid x=&#34;33&#34; y=&#34;43&#34; width=&#34;519&#34; height=&#34;235&#34; id=&#34;myGrid&#34;&#38;gt;&#60;br /&#62;
		&#38;lt;mx:columns&#38;gt;&#60;br /&#62;
			&#38;lt;mx:DataGridColumn headerText=&#34;Column 1&#34; dataField=&#34;value&#34;/&#38;gt;&#60;/p&#62;
&#60;p&#62;		&#38;lt;/mx:columns&#38;gt;&#60;br /&#62;
	&#38;lt;/mx:DataGrid&#38;gt;&#60;/p&#62;
&#60;p&#62;I have been struggling with this concept of calling a method from the method invoker tag and passing that information to the method of the class and how I return data back from the class method into the injector tag. Any background or basic concepts here would be helpful.&#60;br /&#62;
Do you always have to return data from the method of your class?
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "LocalEventMap callback to model object"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1041#post-3930</link>
<pubDate>Fri, 23 Jul 2010 19:49:35 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3930@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;The only idea that I have right now, would be to create a 'hand-off' function on the view, and have it pass the info on to the model to complete.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "LocalEventMap callback to model object"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1041#post-3929</link>
<pubDate>Fri, 23 Jul 2010 19:48:28 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3929@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I am trying to figure out how to define a callback to my model object.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;EventHandlers type=&#38;quot;{WebServiceEvent.RT_GET}&#38;quot; debug=&#38;quot;true&#38;quot;&#38;gt;
    &#38;lt;HTTPServiceInvoker url=&#38;quot;/services/rtGet.asp&#38;quot;&#38;gt;
        &#38;lt;resultHandlers&#38;gt;
            &#38;lt;CallBack method=&#38;quot;rtGetHandleResult&#38;quot; arguments=&#38;quot;{resultObject}&#38;quot;/&#38;gt;
        &#38;lt;/resultHandlers&#38;gt;
        &#38;lt;faultHandlers&#38;gt;
            &#38;lt;CallBack method=&#38;quot;rtGetHandleFault&#38;quot; arguments=&#38;quot;{fault}&#38;quot;/&#38;gt;
        &#38;lt;/faultHandlers&#38;gt;
    &#38;lt;/HTTPServiceInvoker&#38;gt;
&#38;lt;/EventHandlers&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The event is originally dispatched from the model, via the views (as the models dispatcher property).  However, when the callback is ready to fire, I get the following error.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;---------------------------------------------------------
- ERROR: Method rtFeesGetHandleResult not found in class OrderEntryView_0_Main
- EVENT TYPE: &#38;quot;WebstoreServiceEvent.RT_FEES_GET&#38;quot; (rtFeesGet)
- TAG: CallBack
- METHOD: rtFeesGetHandleResult
- FILE: OrderEntryEventMap
- 1 ARGUMENT SUPPLIED: [object Object]
---------------------------------------------------------&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I get essentiall the same error if I try to make method=&#34;model.rtGetHandleResult&#34;&#60;/p&#62;
&#60;p&#62;So, in keeping with the presentation model... how do I have the event map get this to the model to execute?
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "ActiveCollection Encapsulation"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1040#post-3928</link>
<pubDate>Wed, 21 Jul 2010 21:29:24 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3928@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I have a view, which wants to consume information from a presentation model. This model contains among other things, a collection of ActiveRecord objects.&#60;/p&#62;
&#60;p&#62;I would like to not expose the entire collection to the models consumers, but instead wish to only expose the 'data' part.&#60;/p&#62;
&#60;p&#62;I expect that I can write a method to create a data-only copy of this complex object, but I'll be honest, I don't really want to.&#60;/p&#62;
&#60;p&#62;Is it a terrible idea for me to just expose the entire collection object (yeah, along with all its extra methods and properties...and potential for badness)?&#60;/p&#62;
&#60;p&#62;Or, maybe, there's a better approach to dealing with this kind of scenario? I'm sure I'm not the first guy to run into this.&#60;/p&#62;
&#60;p&#62;--Brian
&#60;/p&#62;</description>
</item>
<item>
<title>Laura on "remoteObjects and IE error"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1039#post-3927</link>
<pubDate>Wed, 21 Jul 2010 21:20:46 +0000</pubDate>
<dc:creator>Laura</dc:creator>
<guid isPermaLink="false">3927@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Whenever you have a problem like that the best is to try to do the same with a normal RemoteObject and see if you get the same problem.
&#60;/p&#62;</description>
</item>
<item>
<title>gmstoner on "remoteObjects and IE error"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1039#post-3926</link>
<pubDate>Wed, 21 Jul 2010 21:12:08 +0000</pubDate>
<dc:creator>gmstoner</dc:creator>
<guid isPermaLink="false">3926@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I'm getting this really strange error with my mate project that only effects IE.&#60;/p&#62;
&#60;p&#62;On my map in an event block, I have three remote object calls. These are to three functions on a CFC that is hosted with CF9.&#60;/p&#62;
&#60;p&#62;RPC Fault&#60;/p&#62;
&#60;p&#62;faultString=&#34;Detected duplicate HTTP-based FlexSessions, generally due to the remote host disabling session cookies. Session cookies must be enabled to manage the client connection correctly.&#34;&#60;br /&#62;
faultCode=&#34;Server.Processing.DuplicateSessionDetected&#34;&#60;/p&#62;
&#60;p&#62;For some reason with IE, I get this duplicate session error on the fault event, that doesn't happen in safari, chrome or firefox. In one forum someone mentioned using the program Charles to capture the web proxy traffic, which I did.&#60;/p&#62;
&#60;p&#62;It looks like for IE, the project bails after the call to the first remote object and never gets to the second and third.&#60;/p&#62;
&#60;p&#62;Has anyone run into this? I'm not sure if this is something I need to change on my event map or with the cfc or with the server configuration
&#60;/p&#62;</description>
</item>
<item>
<title>hockeypfef on "Will Mate Support LiveCycle Data Services"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=545#post-3925</link>
<pubDate>Wed, 21 Jul 2010 14:45:51 +0000</pubDate>
<dc:creator>hockeypfef</dc:creator>
<guid isPermaLink="false">3925@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Anyone successfully done this?  Looking to do this in one of my apps and curious if anyone had any pointers.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "propertyInjector binding issue"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1037#post-3924</link>
<pubDate>Tue, 20 Jul 2010 17:19:09 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3924@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;OK!&#60;/p&#62;
&#60;p&#62;Well, I've solved the issue...mostly....&#60;/p&#62;
&#60;p&#62;Essentially, I was working the wrong side of the problem.  Instead of trying to figure out why the injection worked and the binding didn't, I should have been fixing the 'page' property issue.&#60;/p&#62;
&#60;p&#62;My model has a &#60;code&#62;private var _page:int = 0;&#60;/code&#62; &#60;/p&#62;
&#60;p&#62;And then I have a public getter for &#60;code&#62;page()&#60;/code&#62;, but no setter property.  Instead I had a setter method &#60;code&#62;setpage()&#60;/code&#62; to handle extra stuff for dealing with setting the page.&#60;/p&#62;
&#60;p&#62;Anyhow, when I finally decided to address the issue directly, by adding the proper event bindings to the getter (&#60;code&#62;[Bindable(event=&#38;quot;pageChanged&#38;quot;)]&#60;/code&#62;), and a corresponding dispatcher to the &#60;code&#62;setPage()&#60;/code&#62;, then immediately, my bindings began to function as expected.&#60;/p&#62;
&#60;p&#62;I am, however, still getting the &#60;code&#62;- INFO: Data binding will not be able to detect assignments to model&#60;/code&#62; message still....but, that seems to be an issue of less concern.&#60;/p&#62;
&#60;p&#62;Well, hopefully, this monologue helps someone else out there....someday!&#60;/p&#62;
&#60;p&#62;Thanks for listening.&#60;/p&#62;
&#60;p&#62;--Brian
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "propertyInjector binding issue"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1037#post-3923</link>
<pubDate>Tue, 20 Jul 2010 14:39:08 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3923@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Here's another thing.  It seems like the binding is HALF working.  I can test the model for some values injected from the Manager, and find them there..&#60;/p&#62;
&#60;p&#62;But, when I'm on the view, and I tell the Presentation Model to update something, that change doesn't appear to be reflected in my view.  For example, I have a button which asks the model to change its page.  I can see that view.model.page has changed, BUT, a viewstack.selectedIndex that is bound to model.page does not update.&#60;/p&#62;
&#60;p&#62;So, I'm not sure what that means exactly.  I guess the injection is working just fine, and my real problem is in the binding.  Not that the subtle change in perspective changes much my efforts to solve, but, maybe I'm a step closer...&#60;/p&#62;
&#60;p&#62;Any thoughts ?  [[Sorry to be posting so much to my own thread, but, I am trying to show that I'm working diligently on this too, and not depending on you alone to fix my code... ]]&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
--Brian
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "propertyInjector binding issue"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1037#post-3922</link>
<pubDate>Tue, 20 Jul 2010 14:07:00 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3922@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Additionally, I've set a breakpoint on the &#60;code&#62;&#38;lt;PropertyInjector targetKey=&#38;quot;model&#38;quot; ... /&#38;gt;&#60;/code&#62; line, and found to my surprise, that a number of calls to mx.binding() are run, during application start.  This surprises me, because the &#60;code&#62;OrderEntryView_0_Main&#60;/code&#62; view hasn't been created yet.  (Its shown after the user clicks on some other buttons, to choose that they want to go into order entry)&#60;/p&#62;
&#60;p&#62;Not sure if this provides useful info or not, but, hopefully it'll help.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "propertyInjector binding issue"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1037#post-3921</link>
<pubDate>Tue, 20 Jul 2010 13:04:39 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3921@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;For the record, &#60;/p&#62;
&#60;p&#62;at the time of this writing (because I keep testing out all sorts of ideas to learn what I'm not getting yet), the View's &#34;model&#34; property  and the OrderEntryModel class are set to &#60;code&#62;[Bindable] public&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;--Brian
&#60;/p&#62;</description>
</item>
<item>
<title>erickro on "LocalMap and Memory"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1038#post-3920</link>
<pubDate>Tue, 20 Jul 2010 06:37:27 +0000</pubDate>
<dc:creator>erickro</dc:creator>
<guid isPermaLink="false">3920@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hello:&#60;br /&#62;
If I have a module and call my module with localMap&#60;/p&#62;
&#60;p&#62;&#38;lt;Maps: MiLocalMap dispatcher = &#34;(this)&#34;&#60;br /&#62;
cache = &#34;global&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62;and what started as global cache occupies more memory??
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "propertyInjector binding issue"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1037#post-3919</link>
<pubDate>Mon, 19 Jul 2010 21:41:03 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3919@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm doing my best to follow along with iconara's document example, as well as the &#34;injecting view adapters&#34; bit from the &#34;propertyInjector&#34; documentation.&#60;/p&#62;
&#60;p&#62;While I've been successful creating a manager class, and a model class, and injecting properties from the  manager to the model, I'm against a brick wall when it comes to injecting the presentation &#34;model&#34; class into my view.  I'm getting an error :&#60;/p&#62;
&#60;p&#62;________________________&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;Injectors (started)    target=&#38;quot;[class OrderEntryView_0_Main]&#38;quot;   includeDerivatives=&#38;quot;false&#38;quot;   dispatcherType=&#38;quot;inherit&#38;quot;   scope=&#38;quot;[object Scope]&#38;quot;&#38;gt;
    &#38;lt;ObjectBuilder   generator=&#38;quot;[class OrderEntryModel]&#38;quot;   registerTarget=&#38;quot;true&#38;quot;   cache=&#38;quot;inherit&#38;quot;/&#38;gt;
    &#38;lt;PropertyInjector   targetKey=&#38;quot;model&#38;quot;   softBinding=&#38;quot;false&#38;quot;   source=&#38;quot;[object OrderEntryModel]&#38;quot;   sourceCache=&#38;quot;inherit&#38;quot;/&#38;gt;
warning: unable to bind to property &#38;#39;page&#38;#39; on class &#38;#39;adminTrak.ui.views.orderEntry::OrderEntryModel&#38;#39;
- INFO: Data binding will not be able to detect assignments to model
&#38;lt;/Injectors (end)    target=[class OrderEntryView_0_Main]&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;________________________&#60;/p&#62;
&#60;p&#62;Here's the bit from my EventMap&#60;br /&#62;
________________________&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;Injectors target=&#38;quot;{OrderEntryView_0_Main}&#38;quot; debug=&#38;quot;true&#38;quot; &#38;gt;
		&#38;lt;ObjectBuilder generator=&#38;quot;{OrderEntryModel}&#38;quot; registerTarget=&#38;quot;true&#38;quot;  /&#38;gt;

		&#38;lt;PropertyInjector targetKey=&#38;quot;model&#38;quot; source=&#38;quot;{lastReturn}&#38;quot; /&#38;gt;
	&#38;lt;/Injectors&#38;gt;

	&#38;lt;Injectors target=&#38;quot;{OrderEntryModel}&#38;quot; debug=&#38;quot;false&#38;quot;&#38;gt;
		&#38;lt;PropertyInjector targetKey=&#38;quot;dispatcher&#38;quot;   source=&#38;quot;{scope.dispatcher}&#38;quot;/&#38;gt;
		&#38;lt;PropertyInjector targetKey=&#38;quot;contact&#38;quot;      source=&#38;quot;{OrderEntryManager}&#38;quot;   sourceKey=&#38;quot;contact&#38;quot; /&#38;gt;
		&#38;lt;PropertyInjector targetKey=&#38;quot;cart&#38;quot;         source=&#38;quot;{OrderEntryManager}&#38;quot;   sourceKey=&#38;quot;cart&#38;quot;    /&#38;gt;
		&#38;lt;PropertyInjector targetKey=&#38;quot;sessionID&#38;quot;    source=&#38;quot;{OrderEntryManager}&#38;quot;   sourceKey=&#38;quot;sessionID&#38;quot;    /&#38;gt;
	&#38;lt;/Injectors&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;__________________________&#60;br /&#62;
I can't seem to find any thing at all that I'm missing.  I'm completely stuck.  It seems like I've done everything exactly that same as in the Document example, but, I'm still getting this error, and I can't figure out what additional steps to take to debug what the problem is.  &#60;/p&#62;
&#60;p&#62;Any hints?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Brian
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "Presentation Model and WebOrb"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1036#post-3918</link>
<pubDate>Mon, 19 Jul 2010 14:33:57 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3918@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hi,  &#60;/p&#62;
&#60;p&#62;So, I think I finally got a grip on the presentation model deal, and I'm looking to get started, but I have another question that I hope someone can shed some light on.&#60;/p&#62;
&#60;p&#62;In my project, we are relying heavily on WebOrb's ActiveRecord objects.  So my question is, where in the Presentation Model pattern does the ActiveRecord fit?&#60;/p&#62;
&#60;p&#62;I recall reading here on the forums that someone else suggested that weborb basically be left alone to 'Do its thing', and that trying to introduce Mate to it was only likely to introduce extra difficulties.&#60;/p&#62;
&#60;p&#62;But, considering PM's ?  It seems to me that the view CERTAINLY is not the place for this (IE, calling the AR's save() method).  But, I'm pretty sure that it breaks the PM pattern if I let the PM call the AR.save() too.  So then,  it seems like I should 'be a good boy', and let the PM dispatch an event that eventually get Handled by the Manager, which will then call the AR.save()... &#60;/p&#62;
&#60;p&#62;Is this right so far?  Assuming it is, then my real question, I guess, would be:  How to best deal with the AR on my PM.  For the view, I know I need to break down the AR  into direct access properties  (so as not to break the &#34;Law of Demeter&#34; [see how far I've come?!]).  But, in the PM itself, should it have the FULL Active Record object (that I would treat as if it were immutable), or should I be creating a Value Object 'double' to actually handle the injection from the Manager to the PM?&#60;/p&#62;
&#60;p&#62;Whats the right thing to do here?  Certainly, barring any complications, just treating the full AR as the value object would be easier, as I wouldn't have to write all that boilerplate code.  On the other hand, the VO representation is probably 'safer'.  &#60;/p&#62;
&#60;p&#62;I know that I'd prefer to just pass the AR around.  Does this seem like a terrible idea?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "EventHandler property not getting set"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1028#post-3917</link>
<pubDate>Fri, 16 Jul 2010 13:34:56 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3917@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I am finding the following post to be especially helpful in understanding these concepts:&#60;br /&#62;
&#60;a href=&#34;http://mate.asfusion.com/forums/topic.php?id=217#post-925&#34; rel=&#34;nofollow&#34;&#62;http://mate.asfusion.com/forums/topic.php?id=217#post-925&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In addition, in that same topic, Wrench has provided a document that very nicely lays out what the flow looks like.&#60;br /&#62;
&#60;a href=&#34;http://blog.wrench.com.au/wp-content/uploads/2008/12/presentation_model_flow_diagram_mk_4d.png&#34; rel=&#34;nofollow&#34;&#62;http://blog.wrench.com.au/wp-content/uploads/2008/12/presentation_model_flow_diagram_mk_4d.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm really feeling like I'm starting to get a handle on this whole concept.  I am extremely thankful for the excellent community which has already asked the good questions, to which I can refer.&#60;/p&#62;
&#60;p&#62;The only remaining thing that I am stuck on is:  what does the mechanism by which the Manager-&#38;gt;PresentationModel  (step 10 from the diagram) look like?  I understand property injection, but, WHICH property?  Do both the Manager and PresentationModel encapsulate a VO of some kind?
&#60;/p&#62;</description>
</item>
<item>
<title>chiguire on "Breaking a binding done with PropertyInjector"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1035#post-3916</link>
<pubDate>Thu, 15 Jul 2010 23:08:41 +0000</pubDate>
<dc:creator>chiguire</dc:creator>
<guid isPermaLink="false">3916@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I'm writing this because I believe there is something really important missing in the PropertyInjector. I will give a short explanation of the architecture of the application, how does it work, and why do I think the problem lies with the bindings created by these tags.&#60;/p&#62;
&#60;p&#62;The architecture is this one: my application holds some managers at the top level, handled by EventMaps. The application loads some modules, each one with its own LocalEventMap that handles its own PresentationModel. The LocalEventMap creates some bindings from the top level Managers to the PresentationModel.&#60;/p&#62;
&#60;p&#62;This is, the application loads several modules during its use (each module is a section of the application, like the Intranet example app). Sometimes a module can be loaded more than once. This creates a problem with injected properties from the top level managers, you'll find out why.&#60;/p&#62;
&#60;p&#62;When a module gets loaded, the first thing it does is to ask something to the server, by dispatching an event a top level EventMap listents to. After the EventMap has the result, it stores it back to the manager, and thus by binding magic, it updates the module injected properties.&#60;/p&#62;
&#60;p&#62;The problem lies that when I unload a module to load another one, the first one never gets garbage collected. This is a minor annoyance compared to the fact that the bindings from the top level Managers to the module PresentationModels are still up! Even turning softBinding on, the bindings are still in charge. So when I reload the same module as one I loaded in the past, then both modules get updated by the binding with the top level Manager, and this creates a lot of problems (a video player inside a 'discarded' module gets a URL and starts to play, but is nowhere to be seen, as it is supposed to be unloaded).&#60;/p&#62;
&#60;p&#62;In some views, I inject the whole presentation model inside it, and the components inside depend of a binding to that variable, so it is a simple task of setting that variable to null to break the binding. But this is not as easy to do inside a PropertyInjector, as the variables inside it are not accessible, nor there is a method in the class to break the binding.&#60;/p&#62;
&#60;p&#62;Is it necessary to modify Mate to add this method to PropertyInjector? or is there an easier way to cancel this? No matter how you wait or force the Garbage Collector, the unloaded module never gets collected.
&#60;/p&#62;</description>
</item>
<item>
<title>hobbis on "MapEvent and Looping?"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1034#post-3915</link>
<pubDate>Thu, 15 Jul 2010 13:10:21 +0000</pubDate>
<dc:creator>hobbis</dc:creator>
<guid isPermaLink="false">3915@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;How best to achieve this problem?&#60;/p&#62;
&#60;p&#62;I have an arraycollection of objects (of Ids). These Id's then need to be looped through and used to fill other objects using a service call of something like 'GetObjectsById' until the original collection has finished looping.&#60;/p&#62;
&#60;p&#62;I have to make separate calls to the service and do not have access to a service like 'GetObjectsByIdCollection(1,2,3..etc).&#60;/p&#62;
&#60;p&#62;How would I do that in the EventMap? Can I simply loop through the collection, fire event, passing the id and using the CallBack tag to deal with the result of each call?&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
</item>
<item>
<title>razvan.gabriel.ionescu on "WebServiceInvoker fault handler when wsdl is not accessible"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1033#post-3914</link>
<pubDate>Wed, 14 Jul 2010 23:18:25 +0000</pubDate>
<dc:creator>razvan.gabriel.ionescu</dc:creator>
<guid isPermaLink="false">3914@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hi All,&#60;/p&#62;
&#60;p&#62;Have created a small application using WebServiceInvoker and even if everything works perfectly when the wsdl is accessible when the wsdl gets unavailable (for example when stopping the application server that deserves the webservice) the fault handler is not triggered.&#60;/p&#62;
&#60;p&#62;What I was expecting was that when the webservice is not available the fault handler to be triggered. Should a different configuration be used?&#60;/p&#62;
&#60;p&#62;My event map looks like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#60;/code&#62;&#60;/pre&#62;
&#38;lt;EventHandlers type=&#34;{LoginEvent.GET}&#34; debug=&#34;true&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;WebServiceInvoker  wsdl=&#34;http://127.0.0.1:8080/ArionServices/services/Login?wsdl&#34;&#60;br /&#62;
                method=&#34;process&#34;&#60;br /&#62;
                arguments=&#34;{[event.username,event.password]}&#34;&#60;br /&#62;
                debug=&#34;true&#34;&#38;gt;&#60;br /&#62;
            &#38;lt;resultHandlers&#38;gt;&#60;br /&#62;
                &#38;lt;MethodInvoker generator=&#34;{LoginEventResultHandler}&#34; method=&#34;handleLoginResult&#34;&#60;br /&#62;
                    arguments=&#34;{resultObject}&#34; cache=&#34;none&#34; /&#38;gt;&#60;br /&#62;
            &#38;lt;/resultHandlers&#38;gt;&#60;/p&#62;
&#60;p&#62;            &#38;lt;faultHandlers&#38;gt;&#60;br /&#62;
                    &#38;lt;MethodInvoker generator=&#34;{LoginEventFaultHandler}&#34; method=&#34;handleLoginFault&#34;&#60;br /&#62;
                     cache=&#34;none&#34; /&#38;gt;&#60;br /&#62;
			&#38;lt;/faultHandlers&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;/WebServiceInvoker&#38;gt;&#60;/p&#62;
&#60;p&#62;    &#38;lt;/EventHandlers&#38;gt;`&#60;/p&#62;
&#60;p&#62;`&#60;br /&#62;
Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>Laura on "Could not resolve &#60;EventMap&#62;"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=3#post-3913</link>
<pubDate>Wed, 14 Jul 2010 21:47:59 +0000</pubDate>
<dc:creator>Laura</dc:creator>
<guid isPermaLink="false">3913@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Well, I have this and it works fine: &#60;/p&#62;
&#60;p&#62;&#38;lt;EventMap xmlns=&#34;http://mate.asfusion.com/&#34; xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34; xmlns:s=&#34;library://ns.adobe.com/flex/spark&#34; xmlns:mx=&#34;library://ns.adobe.com/flex/halo&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;and yes, the Declarations tag is a requirement of Flex 4
&#60;/p&#62;</description>
</item>
<item>
<title>maryjo313 on "Could not resolve &#60;EventMap&#62;"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=3#post-3912</link>
<pubDate>Wed, 14 Jul 2010 21:44:07 +0000</pubDate>
<dc:creator>maryjo313</dc:creator>
<guid isPermaLink="false">3912@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Well, I did find out the problem. I *had* the namespace at the top but for whatever reason it throws that error unless you also use a prefix. Like this:&#60;/p&#62;
&#60;p&#62;&#38;lt;mate:EventMap&#60;br /&#62;
	xmlns:fx=&#34;http://ns.adobe.com/mxml/2009&#34;&#60;br /&#62;
	xmlns:mx=&#34;library://ns.adobe.com/flex/mx&#34;&#60;br /&#62;
	xmlns:mate=&#34;http://mate.asfusion.com/&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;And the prefix on all the tags as well. &#60;/p&#62;
&#60;p&#62;It also complained if I put any of the tags anywhere other than in a declarations tag.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "EventHandler property not getting set"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1028#post-3911</link>
<pubDate>Wed, 14 Jul 2010 21:28:54 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3911@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;This is the 'source' of what I said above &#60;a href=&#34;http://mate.asfusion.com/forums/topic.php?id=286&#34; rel=&#34;nofollow&#34;&#62;http://mate.asfusion.com/forums/topic.php?id=286&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;A great series of posts, but, still, I am not seeing beyond the descriptions to the technical and practical aspects of it.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "EventHandler property not getting set"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1028#post-3910</link>
<pubDate>Wed, 14 Jul 2010 20:12:39 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3910@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I'm hoping that someone can help clarify this for me.  I have the exact problem as referenced by the above posts.  I understand why this doesn't work.&#60;/p&#62;
&#60;p&#62;What I don't know is how to deal with it.  I need to call a method thats on the view, but that seems like the wrong thing to do entirely.&#60;/p&#62;
&#60;p&#62;From some additional reading I've done on this site, it sounds like what I really want is something called a 'Presentation Model', but I have no experience at all with OO design concepts.&#60;/p&#62;
&#60;p&#62;I think I understand the basic premise, but I'm at a complete loss as to how I should change my code.  How do the parts interact with one another if I don't have code on the view?&#60;/p&#62;
&#60;p&#62;Does anyone have any good pointers, or references, etc, that can help me on my way?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>nimrod on "Flash Builder 4 and RemoteObjectInvoker"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1032#post-3909</link>
<pubDate>Wed, 14 Jul 2010 19:58:44 +0000</pubDate>
<dc:creator>nimrod</dc:creator>
<guid isPermaLink="false">3909@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I want to take advantage of the new data centric features within Flash Builder 4, so I connect to a PHP Data Service inside a FB4 project. Everything is fine, I test the generated file and it retrieves the data from MySQL without a problem. This is done because FB4 ask me to install Zend_Amf framework. All ritght.&#60;/p&#62;
&#60;p&#62;So I started to build my application map, created an EventHandler, and inside my EventHandler tag I placed a RemoteObjectInvoker tag.... but I don't know how to invoke the service created by the FB4 wizard! The question is... how do I call that service and invoke a method using the RemoteObjectInvoker tag?&#60;/p&#62;
&#60;p&#62;With Flex 3 projects I used amfphp and compile with services-config.xml but I'm kind of lost now because nothing of this is required, and with amfphp was different than Zend_Amf. I've never used It before.&#60;/p&#62;
&#60;p&#62;Help?
&#60;/p&#62;</description>
</item>
<item>
<title>Laura on "Could not resolve &#60;EventMap&#62;"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=3#post-3908</link>
<pubDate>Wed, 14 Jul 2010 18:21:53 +0000</pubDate>
<dc:creator>Laura</dc:creator>
<guid isPermaLink="false">3908@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;There is no issue in Flex 4. Make sure you add the namespace at the top of the file.
&#60;/p&#62;</description>
</item>
<item>
<title>maryjo313 on "Could not resolve &#60;EventMap&#62;"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=3#post-3907</link>
<pubDate>Wed, 14 Jul 2010 18:16:16 +0000</pubDate>
<dc:creator>maryjo313</dc:creator>
<guid isPermaLink="false">3907@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I am also having this problem, the error shows up in Flash Builder 4 and seems to be specific to running on the latest SDK, as I don't see the same error in the sample apps I downloaded, that are running in version 3 compatibility mode. Only in the ones I'm doing for Flex 4.
&#60;/p&#62;</description>
</item>
<item>
<title>brianjackermann on "HTTPServiceInvoker executes only once"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1029#post-3906</link>
<pubDate>Wed, 14 Jul 2010 12:50:43 +0000</pubDate>
<dc:creator>brianjackermann</dc:creator>
<guid isPermaLink="false">3906@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I found a workaround for this, but I'm still hoping to get a 'real' solution.&#60;/p&#62;
&#60;p&#62;If you add an additional, random parameter ( Math.random() ) to the call, it behaves perfectly.  It appears that there is some kind of caching going on, where if all the input parameters are the same, it won't actually perform the call, but instead returns the data from the first run.&#60;/p&#62;
&#60;p&#62;Any ideas ?
&#60;/p&#62;</description>
</item>
<item>
<title>jaand96 on "HTTPServiceInvoker executes only once"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1029#post-3905</link>
<pubDate>Tue, 13 Jul 2010 09:30:04 +0000</pubDate>
<dc:creator>jaand96</dc:creator>
<guid isPermaLink="false">3905@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Switched browser to Firefox and it started to work. So at least in my case it's not related to Mate. It's probably browser settings or proxy settings (in a corporate environment where IE forces me to go through a proxy).
&#60;/p&#62;</description>
</item>
<item>
<title>jaand96 on "HTTPServiceInvoker executes only once"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1029#post-3904</link>
<pubDate>Tue, 13 Jul 2010 08:37:23 +0000</pubDate>
<dc:creator>jaand96</dc:creator>
<guid isPermaLink="false">3904@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;having the exact same problem... First request works fine but all subsequent function calls return the result of the first request. Only the first request hits the server.&#60;/p&#62;
&#60;p&#62;So any help would be greatly appreciated!
&#60;/p&#62;</description>
</item>
<item>
<title>FigBug on "Maps in itemEditors?"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1031#post-3903</link>
<pubDate>Mon, 12 Jul 2010 23:39:55 +0000</pubDate>
<dc:creator>FigBug</dc:creator>
<guid isPermaLink="false">3903@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;I want to create an itemEditor that does autocomplete by communicating with my backend to get a list of possible matches as the user types. As I use this component a lot, I want it to contain all the smarts, reather than depending on the view.&#60;/p&#62;
&#60;p&#62;So, I made my own map for it and a presentation model, etc.&#60;/p&#62;
&#60;p&#62;When I create the component in mxml everything works fine. When the DataGrid creates it as an itemEditor my presentation model never gets created. What is the different in the two ways of creating an Object?&#60;/p&#62;
&#60;p&#62;Or, am I going about this completely wrong? Lets saw I have 10 of these auto complete controls, unless they each have their own map, how do I keep their events and data separate?
&#60;/p&#62;</description>
</item>
<item>
<title>Infinitation on "assql &#038; mate .... almost there!"</title>
<link>http://mate.asfusion.com/forums/topic.php?id=1030#post-3902</link>
<pubDate>Sun, 11 Jul 2010 21:05:04 +0000</pubDate>
<dc:creator>Infinitation</dc:creator>
<guid isPermaLink="false">3902@http://mate.asfusion.com/forums/</guid>
<description>&#60;p&#62;So I decided today to try and get Mate and ASSQL working for a new AIR app that I want to build and I have everything working.  Simple login with a user/pass, it sends and verifies and returns to a VO. This is really nothing special.  However, the current implementation that works flawlessly uses the MockRemoteObject to call a class I have that uses ASSQL's power. It returns its results back to a VO then my MainEventMap handles the resultEvent and faultEvent accordingly.  I like using this method as it works the framework appropriately. &#60;/p&#62;
&#60;p&#62;My issue is when I move this from the MockRemoteObject to a standard RemoteObject. It just doesn't work.  Now I have tried to configure my services-config.xml, and various other items to recognize that I am calling an internal class, but I just can't seem to figure this out.  Is it all that bad to be using the MockRemoteObject if it works???  I would like to find the best practice here.  If I need to post code, please let me know. Since there is no remote connection needed is there a better process to be had here?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
