[Arp] How to Set up Netconnection for Coldfusion?

Tien Nguyen sufibaba at gmail.com
Sat Jan 7 21:46:04 PST 2006


Hi Chris,


This is the birthday.cfc :
//-----------------------------------
<cfcomponent>
    <cffunction name="getPersonList" access="remote" returntype="query">

        <cfquery datasource="PersonData" name="myResult">
            Select * from person
        </cfquery>

        <cfreturn myResult>
    </cffunction>
</component>
//---------------------------------------

Here's the Flash Output window:

//---------------------------------------------------------------
INFO Application::onLoad - Application initialization started!
INFO ValueObjects: Registering value objects
INFO ControllerTemplate::registerApp()
INFO Controller::addEventListeners()
INFO Controller::addCommands()
INFO Controller - Command added:getPersonListCommand.
INFO Controller - Command added:getDateOfBirthCommand.
INFO Controller - Command added:addPersonCommand.
INFO Application::onLoad - Application initialization complete!
---------------------------------------------------------------
INFO NewScreen::onLoad
INFO Navigation::queryButtonOnRelease
INFO Application::goToQueryScreen
INFO QueryScreen::reveal - Dispatching event: getPersonList
INFO ControllerTemplate::handleEvent - getPersonList
INFO ControllerTemplate::handleEvent - Creating and executing new
getPersonListCommand
INFO Command::execute
INFO GetPersonListCommand::executeOperation
INFO BirthdayDelegate::Constructor
adding : birthdayService = [object Object]
returning [object Object]
INFO BirthdayDelegate::getPersonList
INFO GetPersonListCommand::onResultOperation - Using view:
_level0.app.queryScreen
INFO QueryScreen::newPersonList
INFO QueryScreen - Dispatching event: getDateOfBirth
INFO ControllerTemplate::handleEvent - getDateOfBirth
INFO ControllerTemplate::handleEvent - Creating and executing new
getDateOfBirthCommand
INFO Command::execute
GetDateOfBirthCommand::execute
getSelectedPersonVO
Returning personVO: undefined
INFO BirthdayDelegate::Constructor
returning [object Object]
INFO BirthdayDelegate::getDateOfBirth
INFO GetDateOfBirthCommand::onResult - Using view: _level0.app.queryScreen
QueryScreen::newDateOfBirth

//-------------------------------------------

The Birthday application Combobox shows :

undefined,undefined
undefined,undefined





On 1/7/06, Chris Velevitch <chris.velevitch at gmail.com> wrote:
>
> It sounds like a case issue. Flash is case sensitive whereas
> Coldfusion is not. In Coldfusion, instead of saying:-
>
>      struct.field = y;
>
> say
>
>      struct["field"] = y;
>
> so that Flash will see the right case.
>
>
> Chris
> --
> Chris Velevitch
> Manager - Sydney Flash Platform Developers Group
> www.flashdev.org.au
>
> _______________________________________________
> Arp mailing list
> Arp at ariaware.com
> http://ariaware.com/mailman/listinfo/arp_ariaware.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ariaware.com/pipermail/arp_ariaware.com/attachments/20060107/9c18103d/attachment.htm


More information about the Arp mailing list