mate

Mate actionscript only version, does it exist?

Hey there, I'm looking into using Mate, but the projects I work on do not require the majority of the functionality of the Flex framework. My workmate said that he heard of an Actionscript version, but I can find no information on the main site about this, only that they have removed some dependencies on the Flex framework. Does anyone...

What is this called in computer science?

A lot of programming languages and frameworks do/allow/require something that I can't seem to find the name for, even though there probably is one in computer science. What they basically do is bind to a variable/object/class/function by name. Flex example ("selectAll()"): <mx:Button click="selectAll()" label="Select All"/> Mate exa...

Flex: How does the compiler know about dependencies?

Hi, I'm completely new to Flex and am just having a play with a sample application from the Mate framework. I'm hacking on Linux so I'm using the command prompt and a text editor rather than Flex Builder. The sample app has two folders in its root directory lib & src. Lib contains a dependency. How can I compile the mxml file in src, s...

Flex - Mate framework - dispatching events

Hi, I've recently changed to Mate as a framework for flex. However am running into a few issues. I want to know how to dispatch events from classes generated via the methodInvoker tag. <resultHandlers> <MethodInvoker generator="{LoginSuccess}" method="setCurrentUser" arguments="{[resultObject]}"/> Then in the class I'd like to dis...

Advice on converting a design-by-accretion Flex project to Mate

We have an internal Flex application which has been designed more through feature creep than by any kind of clear vision. It's basically a kind of CRM and reporting system which utilises quite a lot of Flex components (trees, graphs, custom components, datagrids - all sorts) and talks to a .NET webservice backend. It was initially my fi...

Mate Framework - Check data before making remote call

Hi, Until recently I have been using cairngorm as a framework for flex. However, in this latest project I have switched to Mate. It's` still confusing me a little as I kind of got used to leaving data in the model. I have a couple of components which rely on the same dataset(collection). In the component the creation complete handler sen...

Mate PropertyInjectors - Inject to as3 class?

Does anyone know if it is possible to inject into a regular as3 (non mxml) class? I've tried with limited success. Thanks ...

Navigation issue in Flex - ViewStack, states or something else?

Hi, I have a bit of doubt regarding my application which is being created using Mate framework. The first thing user has to do is to log in, so I created Login.mxml view. After a successful login I need to display the main view with applicationControlBar at the top and a workspace below. At the moment I have two separate views, so if I ...

Mate RemoteObjectInvoker arguments

In a Mate EventHandler tag I have an RemoteObjectInvoker tag. <RemoteObjectInvoker destination="zend" source="AccountService" method="createAccount" arguments="{event.fname}" showBusyCursor="true" debug="true"> .../> The server is PHP using the Zend Framework. I am using Zend_Amf for the remote object calls. ...

Flex + Mate + WebServiceInvoker : Changing the WSDL according to FlashVars

I have a Mate project with a WebService tag instance in the EventMap (which I'm using within various event handlers). I'd quite like to be able to set the wsdl property of the WebService via flashvars, but I'm not entirely sure where or how I could do that. I know I can access flashvars via the Application.application.parameters collect...

Any Flex 4 migration experience?

My current development stack is MySQL + iBatis + Spring + Spring BlazeDS Integration 1.01 + BlazeDS 3.2 and Flex 3 with Mate 0.8.9 framework. Now Flash Builder 4 beta 2 is out. There are cool features like Data Centric Development (DCD), form generation etc... Do you know how Spring Blazeds Integration works with BlazeDS 4? What about M...

To execute Flex cleanup function when browser is closed by user

I have a Flex client application. I need a clean up function to run in Flex when the user closes the browser. I found the following solution on the net, but it only works half-way for me. How could I fix it? Thanks in advance for any responses! Symptoms CustomEvent triggered, but not executed. >> EventHandler for CustomEvent.SEN...

Using Web Services in the Flex Mate Framework

I am currently trying to use the "Invocation tags" of Mate to call my web services and delegate the WS-responses to my fault/result handlers. I want to use the generated proxies, provided by the Flex Builder, and not the plain <WebService> or <WebServiceInvoker> tags. I actually failed using several techniques: <WebServiceInvoker> doe...

Injecting an object created by OjbectBuilder as a property to view

I have a PresentationModel AS class that holds all the values used in SomeView.mxml. The entire class for the model is bindable, and the model property in the view is also bindable. However, I am unable to inject the model into the view using the PropertyInjector tag: - INFO: Data binding will not be able to detect assignments to model...

Mate: Unable to set property model

Hi, i hope anyone can give me an hint to my issue... i have an Application with modules. Every Module lives for itself. There are no shared events or something between them. In my modules there is a datagrid and with a contextmenü, the details of selected data opens in a popupwindow. The modules are controlled by an loalEventMap and a p...

Mate Dispatcher tag...

I need to pass a variable in dispatcher tag... for instance var google:EventName = new EventName(EventName.ADD_User,user); dispatchEvent(google); Now when i go to Mate dispatcher tag... how can i pass the value user. <mate:Dispatcher id="myDispatcher" generator="{EventName}" type="{EventName.ADD_User}"> <mat...

Mate not catching Event in EventMap [Flex]

In my AIR application I am having problems catching dispatched events in my eventmap. The class that is dispatching the events looks like this: Shortcuts.as [Event(name="centeredZoomOut", type="flash.events.Event")] public class Shortcuts extends EventDispatcher { // Event Names public static const CENTERED_ZOOM_OUT:String = "...

Flex-Mate, How To Back PopUp (Dialog) With A Model

I'm using MATE on an Adobe Flex project for MVC. On one of our pages, we have a dialog window that is presented to the user that displays them information that comes from RPC. The pages where this dialog pops up is unrelated to the data being displayed so this is a separate model. How do I create a MATE mapping file that will create t...

Initialize webservice WSDL at runtime using Flex and Mate framework

I am developing a Flex application on top of Mate framework. In this application, I am using a webservice to retrieve data. As this webservice as not a fix location URL (depending on where customers installed it), I define this URL in a config file. When the Flex application starts, it first reads this config file, then I would like to ...

how much effective is a frameworks for RIA in long run ?

hi , i am pretty newbie in terms of flex/RIA frameworks. mostly done work on server side. as i search on internet , people are using a lot different framework, cairngorm to mate. so my question is , as i am baby stepping through flex, should i go for learning framework ? or without framework ? ( as of now , those DI,DAO,VO and IoC doesnt...