Try having your Java class take a List
instead of a SchedPriceVO[]. The List should contain your VO objects.
Matt
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
Yahoo! Groups Links
|
- RE: [flexcoders] DataProvider ? Matt Chotin
-