Hi, I try to send array to java remote object , this method is ok in flex 1.5:
----------------------------
var arreglo100:ArrayCollection = new ArrayCollection;
var largo:Array = new Array
var largo:Array = new Array
largo = ArrayUtil.toArray(datagrid.dataProvider)
for( var i = 0; i < largo[0].length ; i++ )
{
arreglo100.addItemAt({_remoteClass : "libreria.obj_dos_campos" , data: String(largo[0][i].menu) , label: String(largo[0][i].codigo)},i);
}
ro_frm_menus.inserta_menu(arreglo100)
------------------------
but in flex 2, sendme the java.lang.nullpointerExepcion:null, since I can do this in flex 2?
Thanx.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool | Software development | Software development services |
Home design software | Software development company |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___