Re: [flexcoders] Re: Flex and CF

2006-07-19 Thread Mike Nimer
Joao, Your right there isn't much information, and we need more. We'll work on that. However, to answer you question now. To get this working so you can call FDS destinations of CF via Flash Remoting you would do it this way. 1) Configure CF on 1 instance/server 2) Configure FDS on 2nd

Re: [flexcoders] Flex Builder 2 RDS Connection problems

2006-07-19 Thread Mike Nimer
Try connecting with Homesite or Dreamweaver, if you have them. If that works compare the configuration. ---nimer - Original Message From: Brian Holmes [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, July 19, 2006 2:56:41 PMSubject: [flexcoders] Flex Builder 2 RDS

Re: [flexcoders] return STRUCT type from CFC to flex

2006-07-20 Thread Mike Nimer
Next time you run intoa problem like this, you can use this to dump what is being returned and figure out what's wrong. http://www.mikenimer.com/index.cfm/2006/7/5/FlexDebugPanel ---nimer - Original Message From: Nick Collins [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent:

Re: [flexcoders] Difficulty moving app from dev machine to server

2006-07-24 Thread Mike Nimer
Make sure the WEB-INF\flex folders match on both machines, if they do and your still getting the error compare the web.xml files. Also in your cfusion\lib folder you should have 4 jar file that start with "flex-". If you don't you 7.0.2 upgrade probably wasn't successful. ---nimer -

Re: [flexcoders] Re: FDS on CFMX configuration problems

2006-07-24 Thread Mike Nimer
Are you running CF in standalone mode or multi-server? If you are in standalone mode, the easiest is to just install the 2 servers independently of each other and start them both up. Once they are running CF and Flex will find each other (assuming your flex server services-config.xml is

Re: [flexcoders] ArrayCollection

2006-07-28 Thread Mike Nimer
countries = event.result. countries as ArrayCollection; In ColdFusion all queries are returned as a true ArrayCollection objects, so you don't need to create your own. So with this syntax you are just casting, or telling the compiler,the variable that you already know the datatype of

Re: [flexcoders] How does Flex 2.0 handle ColdFusion Query results?

2006-07-28 Thread Mike Nimer
Your not doing the same thing this is casting the object categories = event.result as ArrayCollection; this is creating new objects categories = new ArrayCollection( event.result as Array); -or- categories = new ArrayCollection( event.result) Now why doesn't it work? The event.result

Re: [flexcoders] remote object mapping frustration

2006-07-28 Thread Mike Nimer
I have a hunch the compiler hasn't linked in your AS classes, so when a VO is passed in with flash remoting the flash player doesn't have the as class files in memory so it can't convert the VO into the right classes. In your creationComplete function try this: { var foo1:user = new

Re: [flexcoders] passing VOs using ColdFusion Event gateway Adapter

2006-07-29 Thread Mike Nimer
Seems like it could be a deeper error in the cfml, double check all of the CF logs and see if you can find a better error. Also you might want to try sending the object through the flash remoting adapter, to see if you can get either a better message or to confirm that CF doesn't have a

Re: [flexcoders] [Flex2] What do you use for modelling a Flex2 application...?

2006-08-07 Thread Mike Nimer
One of the tools I use is the Flex2 Visio Stencils, real nice when trying to figure out the layout of the UI components. http://www.digimmersion.com/ ---nimer - Original Message From: Thomas Rühl -akitogo- [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Sunday, August 6, 2006

[flexcoders] Custom server validation

2006-08-25 Thread Mike Nimer
So I recently came upon an interesting situation. I needed to validate a form entry against data on the server. For example, I wanted to query the db to make sure the quantity that the user typed in was a validamount with the stock on hand. My initial thought was that I could just extend the

Re: [flexcoders] Flex with Coldfusion Beginner

2006-08-25 Thread Mike Nimer
Check out the flex docs on the DataGrid.dataProvider property. Basically you'll assign the result from CF to a variable and at the same time you'll bind the dataGrid to this variable. Flex will take care of the rest. hth, ---nimer - Original Message From: plucka70 [EMAIL PROTECTED]To:

Re: [flexcoders] RemoteObject handling 1 method

2006-08-30 Thread Mike Nimer
Sho wrote a great 3 part article on handling Asyc events, this should help you out. http://kuwamoto.org/2006/05/16/dealing-with-asynchronous-events-part-1/ Also don't forget the mx:method tag, it lets you assign a different result method for each method of your service. ---nimer -

Re: [flexcoders] Flex 2 patch timeline

2006-08-30 Thread Mike Nimer
Trust me Adobe is very anal when it comes to releasing bug free software. And the risk that 1 bug fix could introduce 2 more bugs is a big concern. When companies, hell whole industries,are betting their multi-million dollar businesses on your product you have to be overly cautious and careful.

[flexcoders] DataGrid column size (bug?)

2006-08-31 Thread Mike Nimer
In the example below I'm hiding/showingcolumns when you switch between states. The problem is every time I switch between the states the columns that are hidden shrink a little more each time the visibility is turned back on. Anyone know how to get the dataGrid to stop resizing the columns,

Re: [flexcoders] Save image @ server side with ColdFusion 5

2006-09-01 Thread Mike Nimer
You have 2 options. 1) You can use the flash FileReference class and upload the image to CF. Just point the url to a .cfm page that has a CFFILE action="" tag on it. 2) If you can upgrade to CF702, you can use one of the Binary encoders, which can convert a BitmapData class to a jpg or png.

Re: [flexcoders] Using Auth.cfc from CF Wizard

2006-09-10 Thread Mike Nimer
Returning true/false to flex, like you are doing, tells Flash that the authentication was successful and to do what ever you want to do next at the client. However, with the code you have youhaven't told CF the user is authenticated. So if you made some other call that requires roles based

RE: [flexcoders] ColdFusion adapter for remoting forgets super classes.

2006-10-03 Thread Mike Nimer
There is an outstanding bug/ER to add support for super cfc properties. I remember trying to get to it before we shipped CF702, however it didnt make the cut. Right now your best option is to define a CFPROPERTY tag for all of the properties (from the super classe) in the main cfc you

RE: [flexcoders] Changing registration point for mx:Resize effect

2006-10-05 Thread Mike Nimer
Try playing with the horizontalCenter and verticalCenter settings too. I've had some luck with that and scaling. ---nimer -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, October 04, 2006 7:15 PM To:

RE: [flexcoders] Re: FDS on CFMX configuration problems

2006-07-07 Thread Mike Nimer
You are right, this is the tricky part. However, there is an easy way around it. Install CF and Flex separately (2 jvm instance, or 2 wars in the same instance). Then point you projects -services option to the flex2 services-config.xml. This will allow you to use the FDS and messaging

RE: [flexcoders] Guid datatype in Flex

2007-11-29 Thread Mike Nimer
If it does not, the how can i generate unique numbers from Flex that can be convertible to Guid in .NET? There is a UUID generator in flex you can use to get a unique id. UIDUtil.createUID() Hth, ---nimer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] More 2032 fun

2007-12-04 Thread Mike Nimer
I've seen the same behavior. If I remember right I tracked it down to being an issue If you don't post any form data with the request flash ignores the method=post that you set and changes it back to GET for you. Hth, --nimer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Looking for tool to auto generate class diagrams from a Flex project

2007-12-31 Thread Mike Nimer
Check out the program enterprise architect ---nimer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of andiboarder Sent: Saturday, December 29, 2007 3:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Looking for tool to auto generate class diagrams from a

RE: [flexcoders] Re: One custom component referring to another

2008-06-27 Thread Mike Nimer
Be careful here. There is a possible performance problem with a application level central model. If you push all of your data through a central model, then whenever you change ANY property in the model a propertyChangeEvent is thrown from the model class. So every UI element in your application

RE: [flexcoders] Event overloads and the Flex framework

2008-06-30 Thread Mike Nimer
All of those button click - server requests are queued up till the end of the frame. The Flex/Flash will send them out. I'm not sure about simple http. But, If you are using the Blaze/LCDS servers, flex actually sends them all as a set. Basically the servlet will get an Array of requests. It will