How to pull out aoData from the request

How to pull out aoData from the request

lknechtlknecht Posts: 3Questions: 0Answers: 0
edited March 2012 in General
I need to pass in additional data to the server. I've added the data to the aoData object. In my Java server side code I expected there to be a parameter called aoData in order to retrieve the data but there is no such parameter. How do you pull the extra data out the request on the server side?

function doSearch() {

var dataTableObj = $("#assets").dataTable();
dataTableObj.fnSettings().bProcessing = true;
dataTableObj.fnSettings().aoData.push({"pcn" : "AAFG0679"});
dataTableObj.fnSettings().sAjaxSource = '';
dataTableObj.fnDraw();
}

Replies

  • lknechtlknecht Posts: 3Questions: 0Answers: 0
    I've tried pulling it out of the request using the name aoData and pcn. Both are null.
  • lknechtlknecht Posts: 3Questions: 0Answers: 0
    Please disregard. Problem resolved.
This discussion has been closed.