Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
kruse #1
Coldfusion and FLEX
Hi,
I have got the following VO in flex:
package com.adobe.cairngorm.samples.store.vo
{
import com.adobe.cairngorm.vo.IValueObject;
[RemoteClass(alias="com.adobe.cairngorm.samples.sto re.vo.ProductVO")]
[Bindable]
public class ProductVO implements IValueObject
{
public var id : Number;
public var name : String;
}
}
How do I Create an object in Coldfusion that I can store into this Flex object
like this
var test : ProductVO = event.result;
Any one that have done this??
kruse Guest
-
Flex and Coldfusion
Hello, right im having difficulty..... I want to create a project integrating flex and coldfusion! Ive created the flex files! the thing is i dont... -
Flex 3 and Coldfusion 8
Can someone tell me how I can upload files to database? I also want to display all files that is uploaded into the database to be displayed in a... -
Flex to Coldfusion
I have an arraycollection that is populated from a webservice. Users can edit all fields, and it is possible that every row in the database will... -
Flex vs. Flash with ColdFusion
I'm working with a team of offshore developers. I asked them about the http://www.adobe.com/devnet/flex/example_apps/online_store/moreinfo.html --... -
Please help - Flex / Coldfusion
Right - i want to create a site which integrates flex and coldfusion.... ive found tutorials and a lot of info.... but i cant find anything on where... -
PaulH **AdobeCommunityExpert** #2
Re: Coldfusion and FLEX
kruse wrote:
i guess this might be one way (maybe add some getters & setters):> Any one that have done this??
<cfcomponent name="productVO" hint="some useful info goes here" output="false">
<cfproperty name="id" type="numeric">
<cfproperty name="name" type="string">
<cfparam name="id" type="numeric" default="-99">
<cfparam name="name" type="string" default="">
<!--- from mike nimer --->
<cffunction name="init" access="public" returntype="MapInfo">
<cfscript>
var key="";
for (key in arguments) {
this[key] = arguments[key];
}
return this;
</cfscript>
</cffunction>
</cfcomponent>
<cfscript>
// snippet from another CFC that fills that object & returns to flex
var products=ArrayNew(1);
product=createObject("component","productVO").init (
id=1,
name="Dr. Who"
)
arrayAppend(products,product);
return products
</cfscript>
or suppose you could try returning a cfquery as well.
PaulH **AdobeCommunityExpert** Guest



Reply With Quote

