More on this,
You can call your fill method like this:
myDS.fill( myArrayCollection , [argument1value,argument2value,argument3value]
) // < -- 2nd argument is an Array of arguments to be passed
in your CFC Assembler:
<cffunction access="remote" name="fill"
output="no" returntype="myCFCType[]">
<cfargument name=”argument1”/>
<cfargument name=”argument2”/>
<cfargument name=”argument3”/>
<!---
Your code here
--->
</cffunction>
João Fernandes
Dep.
Informática - Área de Desenvolvimento
Cofina media
Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Nikmd23
Sent: quarta-feira, 3 de Maio de 2006 14:49
To: [email protected]
Subject: [flexcoders] DataService.fill params
Hey guys,
I was wondering if anyone had any information on the second argument
of the DataService.fill method? (Specifically for CF)
I think it's meant to be the params to CF to filter your
"query".
While playing around with it, I noticed that in the flex-data-
service.xml file's destination.properties.server.fill-method have an
option for <param>, and the examples I have found use Java typing.
Do I need to edit those settings, and if so what are the data
types? Are they the java representations only? Does that hold true
for CF? (java.lang.String, or is it something else for CF.)
Also, I noticed that some of the lines of the read method in the DAO
(which is used by the fill method of the assembler) are commented
out by default. Perhaps someone has some insight on that?
Just in case I'm not being very clear – I'm basically trying to use
the DataService to return a partial list from the table. (Where
active = true).
Thank You for you help,
Nik
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS