RE: [flexcoders] passing data from jsp page to flex app

2005-06-12 Thread nithya karthik
uot;") _lc.send("cartConnection", "addItemToCart", {name: name.text, orderno: orderno.text}); } /mx:Script mx:VBoxmx:Text id="name" text="Prod 1" /mx:Text id="orderno" text="#0011"/mx:Button label="Add" click="addRow()"

[flexcoders] passing data from jsp page to flex app

2005-06-11 Thread nithya karthik
hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below: mxml: ?xml version="1.0" encoding="utf-8"? mx:Application

RE: [flexcoders] passing data from jsp page to flex app

2005-06-11 Thread Abdul Qabiz
cart; var _lc:LocalConnection; function onAppInit() { _lc = new LocalConnection(); } function addRow() { //if (name.text != "") cart.addItem( {name: name.text, orderno: orderno.text} ); if(name.text != "") _lc.send("cartConnection", "addItemToCart", {n