![]() |
![]() |
||||||
|
|||||||
| Tags: arraycollection, passing |
![]() |
|
|||
|
Hi
i am trying to pass an arraycollection to the data-management-config.xml so that my database can be updated with the new changed data. My code is attached...please let me know what is the correct way to pass an arraycolleciton. putting a [] brackets around the arraycollection makes it an object ************************************************** ********* Flex Code ************************************************** ********** <mx ataService id="datagridService" destination="datagriddestination"fault="handleFault(event)" autoCommit="true"/> datagridService.fill(test,currentProjectName ,datagridData); ************************************************** ************* data-management-config.xml ************************************************** ************** <fill-method> <name>updateCodeCoverage</name> <params>java.lang.String,java.util.List</params> </fill-method> ************************************************** ******************* Error ************************************************** ****************** Unable to locate a fill method for destination 'datagriddestination' which matches the following parameters ( Stringname, and then the individual components of the arraycolelction rather than just the arraycollection)..... for example if arraycollection contain A,1 B,2 C,3 (its an arraycollation of objects)...the error shows like projectnametest,A,1 B,2 C,3 |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise