I have a module that calls a remote Object to a cfc. the cfc
is a basic CRUD built with the CF wizard in Flex 3 Builder. I have
bindable data variables in the main application that I use in this
module by using the "parentApplication.myVariable". now my
application saves the form the first time it is loaded and will
save it as many times as you want to, but if you close the module
and reload it. it gives me this error
[RPC Fault faultString="Unable to invoke CFC - Variable OBJ
is undefined." faultCode="Server.Processing" faultDetail=""]
http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220 at
Now I have debugged to the point it is sending out the obj
that I create and it IS there.
Is there something that I suppose to do like flip a switch
such as creationPolicy="all" or somthing.
For anyone that has this issue. It is not your CFC default
CRUD. If you are passing data to modules you need to use the
"ready" property on the ModuleLoader to call a function. This
function will be called and you can pass your data in this function
to be persistent.