Thanks for the response. I don't think
that is the problem. I think the problem is even though I have mapping between
java vo and AS vo it seems not working. When I check network monitoring I did
not find _remoteClass attribute. Please help me in fixing this problem. I am
attaching my code for your reference.
I have one gen question about mapping
between java vo and AS vo. My java class returning an array of vos. In my AS vo
I declared an array and then Object.registerClass( ) method. No where in my mxml
I referenced the array of AS vo. How array is assigned to data provider
automatically without me assigning it. I am confused over this.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Saturday, June 11, 2005
12:48 AM
To: [email protected]
Subject: RE: [flexcoders] DataProvider
?
Try having your Java
class take a List instead of a SchedPriceVO[]. The List should contain
your VO objects.
Matt
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR
Sent: Friday, June 10, 2005 11:23
AM
To: '[email protected]'
Subject: [flexcoders] DataProvider
?
Hi
All,
Is it possible to
send a DataProvider, created dynamically in action
script, back to server? This is what I am trying
to accomplish....
In my mxml file I make a RO call to java class and
java class returned an
array of VOs. I stored them in an action script
variable called price_do.
Then I created a DataProvider object using
createClassObject(DataProvider,"myDP",1);
and then assigned price_do to
myDP.dataprovider. I am doing this because user
want to see the retrieved
info in a free form format not a grid format. Once
user click save button on
the screen I am getting values from individual
textinputs and update the
myDP object using myDP.editField( ) method and
invoke a remote method to
send this dataProvider object back to my java
class.
I am having problems in the last step- sending
dataprovider to java class. I
have system print outs in my java class and none
got executed. It looks like
object passed back to java class is not recognized
as array of VOs. Please
some one help me out. I am attaching my mxml and
java class for your
reference. Thanks in advance..
<<schedPrice.mxml>>
<<save.txt>>
Thanks!
Hari