function pushPreviousDataForQuery(queryId,eventId){
var passFilterFlag ;
for(var h=0;h if(filterFlag[h][0] == queryId){
passFilterFlag =filterFlag[h][1] ;
break;
}
}
k=0;
var actionCondition = document.getElementById('actionCondition'+queryId).value;
var pageURL = "include/pull_previous_query_events.jsp?queryId="+queryId+"&eventId="+eventId+"&filterFlag="+passFilterFlag+"&actionCondition="+actionCondition;
var status = AjaxRequest.get(
{
'url':pageURL
,'onSuccess':function(req){ tbl_id = "eventTable"+queryId;
renderDynamicEventDetailsQuery(req,queryId); }
,'onError':function(req){ validateSession(req.responseText);}
}
);
}
function renderDynamicEventDetailsQuery(theReq,queryId,k){
alert("first="+k);
//alert(theReq);
theRaj=theReq;
alert(theReq);
alert(theRaj);
if(k==0)
tmp_pull_data = theReq.responseText;
else
tmp_pull_data = theReq.responseText;
alert("first --"+tmp_pull_data);
pull_data= tmp_pull_data.split('@%&');

if(flagForQuery>0){
queryData1 = pull_data[k].split('@#$');
getActionFlag = queryData1[1].split('#$!');
var getAckId = getActionFlag[1].split('!$##');
queeventIds = getAckId[1].split('!@#&^');

addQueryRow(queryData1[0],queeventIds[0],getActionFlag[0],getAckId[0]);

}

//alert("=="+k);
//alert(pull_data.length);
if(k k++;
alert("inside---"+k);
alert("inside"+tmp_pull_data);
timeId=window.setTimeout("renderDynamicEventDetailsQuery("+theRaj+","+queryId+","+k+")",2000);

}else{
pushSeverityDataQuery(queryId);
}
}

Comments

Suuch’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

if require any more help or info, plz contact us directly... thx