[flexcoders] [ANN] Spring ActionScript 1.0 Release Candidate 1

2010-03-05 Thread Christophe Herreman
Inversion of Control Container, APIs for building tailored MVC architectures, extensions for the Cairngorm and PureMVC frameworks and several other utilities. For more info, please see the official announcement at http://www.herrodius.com/blog/273 cheers, Christophe -- Christophe Herreman http

Re: [SPAM] Re: [flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-17 Thread Christophe Herreman
Try this: var operation:Operation = remoteObject.getOperation(methodName) as Operation; operation.arguments = parameters; var token:AsyncToken = operation.send(); regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.springactionscript.org http://www.as3commons.org

Re: [flexcoders] Passing View to Presentation Model

2009-12-17 Thread Christophe Herreman
new PModel(this) should do the trick without casting. This usage is really defeating the purpose of the Presentation Model pattern though. The PM should not know anything about the view it works for. regards, Christophe -- Christophe Herreman http://www.herrodius.com http

[flexcoders] Spring ActionScript 0.8 Released

2009-07-18 Thread Christophe Herreman
/blog/176 -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

[flexcoders] BlazeDS/ActiveMQ amf-streaming disconnect problem

2009-03-11 Thread Christophe Herreman
x27; is 0. [BlazeDS]03/11/2009 16:25:47.444 [DEBUG] [Endpoint.StreamingAMF] Number of streaming clients for endpoint with id 'my-streaming-amf' is 0. [BlazeDS]03/11/2009 16:25:47.489 [DEBUG] [Endpoint.FlexSession] FlexSession created with id 'E5BCC7617F3937139CCAD377EEB85D45' for an Http-based client connection. [BlazeDS]03/11/2009 16:25:47.489 [INFO] [Endpoint.General] Channel endpoint my-streaming-amf received request. -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

[flexcoders] Re: Flash Player 10 and XML text nodes issue

2008-12-03 Thread Christophe Herreman
Since I think this is a bug, I posted an issue on the Adobe JIRA: https://bugs.adobe.com/jira/browse/FP-1131 regards, Christophe 2008/12/3 Christophe Herreman <[EMAIL PROTECTED]> > Hi all, > > It seems that in FP9, text nodes would have their namespace associated with > them.

[flexcoders] Flash Player 10 and XML text nodes issue

2008-12-03 Thread Christophe Herreman
for text nodes and the xml tags are returned as entities: <value>true</value> As a result, calling name() on the node returns null. Has anyone ran into this issue? Is this expected behavior in FP10, since it seems to be causing compatibility issues? regards, Christophe

Re: [flexcoders] Re: Problem consuming ActiveMQ messages from Flex client

2008-09-19 Thread Christophe Herreman
/05/simplified-blazeds-and-jms.html 2008/9/19 Christophe Herreman <[EMAIL PROTECTED]> > Hi George, > > I'll take a look at the STOMP client. > > However I'm still wondering why this seems to fail. Do you need to setup > the policy only with STOMP? Is it also need w

Re: [flexcoders] Re: Problem consuming ActiveMQ messages from Flex client

2008-09-19 Thread Christophe Herreman
t; I use ActiveMQ and it works just fine. Although, I use the STOMP > client, and you need to make sure that you have a flash policy server > set up to allow the socket connection to the message server. > > --- In flexcoders@yahoogroups.com , > "Christophe Herreman" <[EMA

[flexcoders] Problem consuming ActiveMQ messages from Flex client

2008-09-19 Thread Christophe Herreman
statements in the Tomcat console, but again no messages are received in the Flex client. Any ideas? -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

[flexcoders] [ANN] Prana Framework 0.6 Released

2008-07-04 Thread Christophe Herreman
Dear Community, I'm pleased to announce that the 0.6 version of Prana is now available. For more info, please see http://www.herrodius.com/blog/149 Enjoy this release and have fun coding ! regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

Re: [flexcoders] Cairngorm ServiceLocator

2008-04-22 Thread Christophe Herreman
Hi Vivian, we have recently been talking about this with the development team. I agree with you that video tutorials would be a great aid, so I'll try to put something together. regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org 2008/4/23 V

Re: [flexcoders] Cairngorm ServiceLocator

2008-04-22 Thread Christophe Herreman
n accessor method to add service at runtime was added I think it would make > this class a lot more dynamic. Instead it relies on MXML being compiled > down to AS and variables automatically being added. > > Any thoughts? > Eric > > Ps... please dont suggest to roll my own locator, i

[flexcoders] [ANN] Prana Framework 0.5 Released

2008-04-20 Thread Christophe Herreman
Dear Community, I'm pleased to announce that the 0.5 version of Prana is now available. For more info, please see http://www.herrodius.com/blog/145 Enjoy this release and have fun coding ! regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

Re: [flexcoders] Dynamic Instance Problem

2008-04-18 Thread Christophe Herreman
mework.org) ;-) regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org 2008/4/18, Dale Fraser <[EMAIL PROTECTED]>: > >Doesn't work for my needs. > > > > I need to create object instances based on XML data. The component >

Re: [flexcoders] Dynamic Instance Problem

2008-04-18 Thread Christophe Herreman
Hi Dale, did you reference the class somewhere in your code? It needs to be compiled into the swf in order to instantiate it dynamically. My personal preference is to do this with a static code block: { MyClass1, MyClass2 } regards, Christophe -- Christophe Herreman http

[flexcoders] Dynamic Proxies feature request

2008-01-28 Thread Christophe Herreman
is an important issue/limitation of the ActionScript language and cast your vote. thx and regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

Re: [flexcoders] Re: Mock objects in AS3

2008-01-28 Thread Christophe Herreman
; Adam > > --- In flexcoders@yahoogroups.com , Drew > Bourne <[EMAIL PROTECTED]> wrote: > > > > Hi Christophe, > > > > Ohh neatness! Thanks for the heads up, I had no idea Haxe had that > > feature. > > > > I'm going to spen

Re: [flexcoders] Re: Mock objects in AS3

2008-01-03 Thread Christophe Herreman
ely be an avenue > worth exploring for this. Adam, I would be interested in > collaborating on getting a port of hxASM to AS3 so that we can > generate the necessary bytecodes to create mocks from an interface at > runtime. > > cheers, > Drew > > -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

Re: [flexcoders] Cannot access a property or method of a null object reference

2008-01-01 Thread Christophe Herreman
Hi, you need to create an instance of the testClass like this var test:testClass = new testClass(); regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.com 2008/1/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > This compiles but when y

Re: [flexcoders] Re: Mock objects in AS3

2007-12-26 Thread Christophe Herreman
p on my own > > > > (ok, > > > > > > sorry for the pun!) but I ran into troubles. Is anyone > > > > interested in > > > > > > thinking about this problem with me? > > > > > > > > > > > > Here is what I

Re: [flexcoders] AsDoc and libraries problem

2007-12-10 Thread Christophe Herreman
Hi, check the -external-library-path option. Here's a snippet from an ant build file we have: regards, Christophe --- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org 2007/12/10, Christophe Herreman <[EMAIL PROTECTED]>: > >

Re: [flexcoders] AsDoc and libraries problem

2007-12-07 Thread Christophe Herreman
have you tried using -doc-sources "path/to/project" instead of -source-path? AFAIK you don't need to specify the libs you're using then. regards, Christophe --- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org 2007/12/7, Rico Leuthold <[EMA

[flexcoders] ValueObject Factories?

2007-12-05 Thread Christophe Herreman
s and otherwise send the object itself? Input, comments and ideas are welcome. regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

Re: [flexcoders] ASDoc tool and packages

2007-12-05 Thread Christophe Herreman
gt; > > > > > > > Jobe Makar > > http://www.electrotank.com > > 252-627-8026 > > 919-609-0408 (mobile) > > > > > -- Christophe Herreman http://www.herrodius.com

Re: [flexcoders] Dynamic class creation?

2007-10-22 Thread Christophe Herreman
it truly is dynamic. > > *sigh* > > I've a feeling this ought to be possible, I just can't for the life of me > think how. Is there any way I can hook into the new Class() call somewhere? > Or uniquely identify each reference to GenericAssetClass that I've handed > out, so that I can use a lookup table during the construction phase? > > Thanks in advance, > Ian > > -- Christophe Herreman http://www.herrodius.com

Re: [flexcoders] Mock objects in AS3

2007-10-17 Thread Christophe Herreman
o create these things? > > BTW, this message is also posted on the ActionScript 3 FlexUnit > Library forum in Google Groups. Hopefully that isn't some kind of > forum faux pas. > > Thank you for any comments, > Adam > > > -- Christophe Herreman http://www.herrodius.com

[flexcoders] Re: Ignoring a public member during serialization

2007-08-28 Thread Christophe Herreman
Hi, check out the [Transient] metadata tag. regards, Christophe --- In flexcoders@yahoogroups.com, "vikram" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using .Net web services to communicate with the server in my Flex > application. > > In action script, is there a way to prevent serializatio

[flexcoders] Re: function.apply() and "this" on instance method

2007-08-28 Thread Christophe Herreman
Hi Stephen, that Decorator solution would work, but not in my case. Let me explain why. I'm trying to come up with another approach to Cairngorm's SequenceCommand. The problem with that implementation is that the commands in the sequence know that they are part of a sequence. This makes it imposs

Re: [flexcoders] Flex "Reflection"

2007-06-09 Thread Christophe Herreman
Hi André, I have been working on a Reflection API for ActionScript 3 as part of the Prana project. You can find info at http://www.herrodius.com/blog/?p=68 A download link is also provided. regards, Christophe André Rodrigues Pena wrote: > > Hi all, > I'm wondering if Flex has some mechanism fo

Re: [flexcoders] Prana: IoC container for AS3

2007-04-20 Thread Christophe Herreman
; C. > > > > PD:mmm... no body else seems to be interested in this proyect? people > > know about the benefits of a IoC container? > > > > 19 Apr 2007 04:03:30 -0700, Christophe Herreman < [EMAIL PROTECTED] com > > <mailto:[EMAIL PROTECTED] <mailto:lists%4

Re: [flexcoders] Prana: IoC container for AS3

2007-04-20 Thread Christophe Herreman
ft. So, here's my question: what would an IOC > >> container add that Flex doesn't provide and how would it improve our > >> work or what we could do? Are you primarily thinking about aspects? > >> > >> Yours truly, > >> -Brian > >> &

Re: [flexcoders] Prana: IoC container for AS3

2007-04-19 Thread Christophe Herreman
pe > try it soon. > Do you have some road map for prana? what could we expect in future > versions? > > A great effort :) > > > > 17 Apr 2007 13:08:04 -0700, Christophe Herreman <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Hi guys,

[flexcoders] Prana: IoC container for AS3

2007-04-17 Thread Christophe Herreman
Hi guys, thought some of you might be interested in this: I recently started working on an Inversion of Control container (ala Spring) for ActionScript 3. Some of the core functionalities are working now and I just moved the project to SourceForge where it can be found at http://sourceforge.ne

Re: [flexcoders] expand entire tree?

2007-04-16 Thread Christophe Herreman
Hi Joshua, try this: var dp:XML = tree.dataProvider[0]; tree.openItems = dp..node; Note that this code works for a dataprovider with a root node and with "node" as the nodenames. regards, Christophe joshua gatcke schreef: > > Does anyone know how to expand a tree on initialize? I have tried t

Re: [flexcoders] Re: Dynamic constructor invocation?

2007-04-06 Thread Christophe Herreman
Hi again, the solution I have so far is to make separate calls for each number of arguments that needs to be passed to the constructor. It works, but of course it is no elegant and generic solution. case 1: result = new clazz(args[0]); break; case 2: result = new clazz(args[0], args[1]);

[flexcoders] Cairngorm: Switching between BusinessDelegates

2006-09-12 Thread Christophe Herreman
Hi guys, we are developing an application that has login functionality. Depending on the "context" (offline, online, ...) the application runs in, we would like to switch between local file io and online database access via remoting or webservices to read and write the user data. I was thinkin

Re: [flexcoders] [Cairngorm] - Question about ViewHelpers

2005-10-08 Thread Christophe Herreman
ime, like so: > > > >Hope that helps! > >Jimmy > >-Original Message----- >From: flexcoders@yahoogroups.com on behalf of Christophe Herreman >Sent: Sat 10/8/2005 7:44 AM >To: flexcoders@yahoogroups.com >Subject: [flexcoders] [Cairngorm] - Question about ViewH

[flexcoders] [Cairngorm] - Question about ViewHelpers

2005-10-08 Thread Christophe Herreman
Hi guys, I was wondering about the following... Say you have a GetUserCommand the retrieves a user from the db and then updates 2 views: a UserForm where the user's data is shown and the application's HeaderForm where the name of the current user is displayed. How would you handle updating the