Hello,

 no data is transfered and the script stops when iuse the code. Why i 
must  convertthe date  to json? i dont  do it   on the normal variables 
and teh data ist converted to json too.

>
>   
>> Hmm,
>>
>> you can just add a JSon Object to your request, somehow like this code:
>>
>> var strukturid = {};
>>
>> // within your for-loop or something
>> strukturid[row] = {
>>   "STRUKTURID" : STRUKTURID,
>>   "lesen" : bo[this.tables[7].getTableModel().getValue(1,row)],
>>   "schreiben" : bo[this.tables[7].getTableModel().getValue(2,row)],
>>   "loeschen" : bo[this.tables[7].getTableModel().getValue(3,row)]
>> }
>>
>> // after having built your data object completely
>> var req = new qx.io.remote.Request(makebiz.system.Globals.processorURL,
>> "POST", "application/json");
>> req.setTimeout(10000);
>> req.setParameter("m", "domont");
>> req.setParameter("USERID",this.widgets["USERID"].getValue());
>> req.setParameter("STRUKTURID",qx.util.Json.stringify(strukturid);
>>                  
>>
>> Regards,
>> Daniel
>>   
>>     
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>   


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to