I am using an intermediate VO object (myobj) as my binding source.
So basically, I have a form whose input fields are bound to myobj and
then in my result handler for the webservice call i set myobj = to
event.result. I have 2 problems right now.
1. var myobj:myobj = myobj(event.result)
myobj(event.result) won't give you null. (event.result as Myobj) might, but
myobj(event.result) will give you a runtime exception.
On Tue, Aug 26, 2008 at 11:28 PM, rss181919 [EMAIL PROTECTED] wrote:
Nik,
Thanks for the object utility recommendation. That seems to work for
now although I
I get the same result. As long as I copy the event.result properties
over to my custom property, I get binding, but trying to set it to
the object causes binding to fail even though the object properties
transfer over to the custom property successfully.
I set my webservice to
I see your problem I think. Are you setting component.datasource =
resultEvent.result through actionscript somewhere? That won't get updated
when you make another service call, because a new result object is created.
If you bind to service.lastResult (or something, I don't do it that way)
instead,
4 matches
Mail list logo