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
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
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:
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
-
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
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
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
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
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
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
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
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:
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
-
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.
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,
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.
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
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
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:
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
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
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]
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
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
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
25 matches
Mail list logo