hi all,
reading documentation i understand that i can interact with database calling server side method (servelt, php, cgi,...). both for getting data and sending new data.
ok!!!! i read also that, for sending data, i can use both post and get method type for sending parameter.
i like to send the updated dataset as the xml nodes updated. but i can't!!!
this is what i did:
<dataset name="sendData" src="" href="http://10.172.69.155:8080/moneymanager-laszlo-webapp/command">http://10.172.69.155:8080/moneymanager-laszlo-webapp/command" querytype="POST" />
...
<button width="80" x="200" y="10">Update
<method event="onclick">
parent.datapath.updateData();
var d = canvas.datasets.sendData;
d.setQueryType("POST");
d.setQueryParam("senddata", parent.datapath.p);
d.doRequest();
Debug.write(parent.datapath.p)
</method>
</button>
...
but when i click the button i have this error:
ERROR: data conversion error for http://10.172.69.155:8080/moneymanager-laszlo-webapp/command?senddata=<<xml rapresentation of datapath>>
like data was sent using the get method type.
why?
tnx,
Luca
_______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
