Adobe Dreamweaver Forums



Last 10 THreads :         Re: 2.1 GB TIF size limit (Last Post : Buko - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: sRGB vs. Adobe (1998) RGB (Last Post : pfigen@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: SFW and date created (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »          help me with adjustments layers in CS4 (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 1 - Views : 2 )           »          Snippet Pod Problems (Last Post : Pat@ffic - Replies : 4 - Views : 5 )           »          bad luck (Last Post : newwaveboats - Replies : 0 - Views : 1 )           »          Cannot setup audio with Captivate 2 (Last Post : c..k - Replies : 0 - Views : 1 )           »          Re: Urgent: Can Only Record in Demonstration Mode (Last Post : halyna - Replies : 0 - Views : 1 )           »          Change custom Vector class to new Vector class in player10 (Last Post : VarioPegged - Replies : 1 - Views : 2 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 09:02 AM
EvolvedDSM
 
Posts: n/a
Diggs:
Default Pass in value to data service CFC ?

I'm using a data service (FDS) and the CF generated CFCs to handle data in my
app. I'm having trouble though figuring out how I can pass in a value to my
DAO CFC since I'm not invoking it with a remoteObject call.

I set my dataservice to the defined destination Assembler CFC
(data-management-config), and then fill an arrayCollection with the results
from read() of the DAO CFC. This works great. What I'm trying to accomplish
now is to send a value to the DAO CFC as a cfargument and then use it in my
query to filter (where).

Something like this...

<cffunction name="read" access="remote" ...>
<cfargument name="currentid">
<cfquery datasource="...">
SELECT col1, col2, col3, userID, ...
FROM sometable
WHERE userID = <cfqueryparam cfsqltype="CF_SQL_BIGINT"
value="#arguments.currentid#" />
</cfquery>
</cffunction>

I have the value in my Flex app, but I don't have any way to pass it to the
DAO when the data service is requested.



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:36 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk