$params["id"] = $id;
$params["xt"] =& $xt;
$params["keys"] = $keys;
$params["mode"] = $pageMode;
$params["pageType"] = PAGE_EDIT;
$params["tName"] = $strTableName;
$params["action"] = postvalue("a");
//	locking parameters
$params["lockingAction"] = postvalue("action");
$params["lockingSid"] = postvalue("sid");
$params["lockingKeys"] = postvalue("keys");
$params["lockingStart"] = postvalue("startEdit");
if ($pageMode == EDIT_INLINE) {
    $params["screenWidth"] = postvalue("screenWidth");
    $params["screenHeight"] = postvalue("screenHeight");
    $params["orientation"] = postvalue("orientation");
}
if ($pageMode == EDIT_DASHBOARD) {
    $params["dashElementName"] = postvalue("dashelement");
    $params["dashTName"] = postvalue("table");
}
if ($pageMode == EDIT_POPUP || $pageMode == EDIT_INLINE) {
    $params["dashTName"] = postvalue("dashTName");
}
$pageObject = new EditPage($params);
if ($pageObject->isLockingRequest()) {
    $pageObject->doLockingAction();
    exit;
}
$pageObject->init();
$pageObject->process();