Rob,
Just to be sure I understand, you have a cfc called getSearch.cfc in the
directory vo. vo is either on the web root or mapped in the coldfusion
administrator. getSearch.cfc has a function in it also called getSearch
which takes 2 parameters: typer and s1. Is this correct?
<mx:RemoteObject
id="getSearch"
destination="ColdFusion"
source="vo.getSearch"
showBusyCursor="true"
fault="errorHandler(event)">
<mx:method name="getSearch" result="handleSearchResult(event)">
<mx:arguments>
<typer>{createVarsForSearch.typer}</typer>
<s1>{createVarsForSearch.sss1}</s1>
</mx:arguments>
</mx:method>
David Henry
http://ColdFusionPowered.com/
Rob Parkhill wrote:
> That would be much appreciated... and I am sure that you can expect a few
> more questions from me. But it seems that with a couple of these simple
> things understood, I should be able to move forward at least...
> Thanks!
>
> On Wed, Nov 19, 2008 at 4:44 PM, David Henry <
> [EMAIL PROTECTED]> wrote:
>
>
>> I'm on my way out the door right now, I'll write up an answer for you
>> when I get home (unless someone beats me to it).
>>
>>
>> David Henry
>> http://ColdFusionPowered.com/
>>
>>
>> Rob Parkhill wrote:
>>
>>> David,
>>> Yup, remote object.. here's a code snippet. Not sure how to reference
>>>
>> the
>>
>>> form vars, like I said, nothing I was entering seemed to like me I tried
>>>
>> to
>>
>>> write an AS function (that is what is here, well at least the references)
>>> that was called by the submit button, but no go...
>>>
>>> <mx:RemoteObject
>>>
>>> id="getSearch"
>>> destination="ColdFusion"
>>> source="vo.getSearch"
>>> showBusyCursor="true"
>>> fault="errorHandler(event)">
>>> <mx:method name="getSearch" result="handleSearchResult(event)">
>>> <mx:arguments>
>>> <typer>{createVarsForSearch.typer}</typer>
>>> <s1>{createVarsForSearch.sss1}</s1>
>>> </mx:arguments>
>>> </mx:method>
>>>
>>> Rob
>>>
>>> On Wed, Nov 19, 2008 at 4:36 PM, David Henry <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>> Hi Rob,
>>>>
>>>> Welcome to Flex! What are you using to access the CFC? RemoteObject
>>>> perhaps?
>>>>
>>>>
>>>> David Henry
>>>> http://ColdFusionPowered.com/
>>>>
>>>>
>>>> Rob Parkhill wrote:
>>>>
>>>>
>>>>> Good day,
>>>>>
>>>>> I have just started using Flex, as I think that it will suit my current
>>>>>
>>>>>
>>>> app perfectly. I have found most of the information that I have needed
>>>>
>> to
>>
>>>> get things going, but now I have come to a problem, and google is
>>>>
>> yielding
>>
>>>> no positive results. I would like to pass some form results to a CFC
>>>>
>> for a
>>
>>>> datagrid. I have the CFC returning fine when I click the submit button,
>>>>
>> but
>>
>>>> the arguments are not going in. I am not sure how to bind them or pass
>>>>
>> them
>>
>>>> properly I guess.
>>>>
>>>>
>>>>> Any pointers would be greatly appreciated.
>>>>>
>>>>> Rob
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5562
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37