break; /* start Contact nitobi */ /* start Contact nitobi */ case "searchcontact": //return xml table to grid $wherestring = " WHERE bpartner_id={$o->bpartner_id}"; $o->showContact($wherestring); exit; //after return xml shall not run more code. break; case "savecontact": //process submited xml data from grid $o->saveContact(); break; case "contacts": $o->getContactform(); //use nitobi die; break; case "addresslist": //return xml table to grid include_once "../simantz/class/EBAGetHandler.php"; header('Content-type: text/xml'); $lookupdelay = 1000; $pagesize =& $_GET["pagesize"]; $ordinalStart =& $_GET["startrecordindex"]; $sortcolumn =& $_GET["sortcolumn"]; $sortdirection =& $_GET["sortdirection"]; $getHandler = new EBAGetHandler(); $getHandler->ProcessRecords(); $getHandler->DefineField("address_id");