Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Eugene on Jan 21, 2010 08:25
open dhtmlx forum
dataprocessor question

Hi, We are evaluating a free version with intention to buy enterprise.
I am using ConnectorServlet but it does not actually update a database (MySQL). DataProcessor debug shows:

row DBF1VAL1 marked [updated,valid]
Initiating data sending for DBF1VAL1
Sending in one-by-one mode, current ID = DBF1VAL1

Parameters sent to server show updated value (c1=XYZ)
gr_id=DBF1VAL1
c0=DBF1VAL1
c1=XYZ1
c2=null

but table is not updated and server returns a response with an old (unchanged) value:

id='DBF1VAL1'><cell><![CDATA[DBF1VAL1]]></cell><cell><![CDATA[jblackasdasd]]></cell><cell><![null]]></

What am I doing wrong?
Is there a way I can see actual update query?
Thank you,
Eugene
Answer posted by Stanislav (support on Jan 22, 2010 01:39
Double check that connector.js file is included on the page. It seems that it missed in your case. ( it need to be included after dhtmlxdataprocessor.js ) 

>>Is there a way I can see actual update query?

http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxconnectorjava:error_handling_and_logging

 gridConn.enable_log("path to log file");