Ejemplo n.º 1
0
 function Operation()
 {
     if (!$this->Visible) {
         return;
     }
     global $Redirect;
     global $FileName;
     if (!$this->FormSubmitted) {
         return;
     }
     if ($this->FormSubmitted) {
         $this->PressedButton = "Button_DoSearch";
         if ($this->Button_DoSearch->Pressed) {
             $this->PressedButton = "Button_DoSearch";
         }
     }
     $Redirect = "lov_p_w_proc.php";
     if ($this->Validate()) {
         if ($this->PressedButton == "Button_DoSearch") {
             $Redirect = "lov_p_w_proc.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_DoSearch", "Button_DoSearch_x", "Button_DoSearch_y")));
             if (!CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick", $this->Button_DoSearch)) {
                 $Redirect = "";
             }
         }
     } else {
         $Redirect = "";
     }
 }
Ejemplo n.º 2
0
 function Operation()
 {
     if (!$this->Visible) {
         return;
     }
     global $Redirect;
     global $FileName;
     if (!$this->FormSubmitted) {
         return;
     }
     if ($this->FormSubmitted) {
         $this->PressedButton = "Button_DoSearch";
         if ($this->Button_DoSearch->Pressed) {
             $this->PressedButton = "Button_DoSearch";
         } else {
             if ($this->button_submit->Pressed) {
                 $this->PressedButton = "button_submit";
             } else {
                 if ($this->Button1->Pressed) {
                     $this->PressedButton = "Button1";
                 }
             }
         }
     }
     $Redirect = "t_vat_setllement.php";
     if ($this->Validate()) {
         if ($this->PressedButton == "Button_DoSearch") {
             $Redirect = "t_vat_setllement.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_DoSearch", "Button_DoSearch_x", "Button_DoSearch_y", "button_submit", "button_submit_x", "button_submit_y", "Button1", "Button1_x", "Button1_y")));
             if (!CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick", $this->Button_DoSearch)) {
                 $Redirect = "";
             }
         } else {
             if ($this->PressedButton == "button_submit") {
                 if (!CCGetEvent($this->button_submit->CCSEvents, "OnClick", $this->button_submit)) {
                     $Redirect = "";
                 }
             } else {
                 if ($this->PressedButton == "Button1") {
                     if (!CCGetEvent($this->Button1->CCSEvents, "OnClick", $this->Button1)) {
                         $Redirect = "";
                     }
                 }
             }
         }
     } else {
         $Redirect = "";
     }
 }
 function Operation()
 {
     if (!$this->Visible) {
         return;
     }
     global $Redirect;
     global $FileName;
     if (!$this->FormSubmitted) {
         return;
     }
     if ($this->FormSubmitted) {
         $this->PressedButton = "Button_DoSearch";
         if ($this->Button_DoSearch->Pressed) {
             $this->PressedButton = "Button_DoSearch";
         }
     }
     $Redirect = "t_cust_order_legal_doc_ro_ver_executive_summary_kadis.php";
     if ($this->Validate()) {
         if ($this->PressedButton == "Button_DoSearch") {
             $Redirect = "t_cust_order_legal_doc_ro_ver_executive_summary_kadis.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_DoSearch", "Button_DoSearch_x", "Button_DoSearch_y")));
             if (!CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick", $this->Button_DoSearch)) {
                 $Redirect = "";
             }
         }
     } else {
         $Redirect = "";
     }
 }
 function Operation()
 {
     if (!$this->Visible) {
         return;
     }
     global $Redirect;
     global $FileName;
     if (!$this->FormSubmitted) {
         return;
     }
     if ($this->FormSubmitted) {
         $this->PressedButton = "Button_Search";
         if ($this->Button_Search->Pressed) {
             $this->PressedButton = "Button_Search";
         }
     }
     $Redirect = "products_suite.php" . "?" . CCGetQueryString("QueryString", array("ccsForm", "v_alm_product_suitesPage"));
     if ($this->Validate()) {
         if ($this->PressedButton == "Button_Search") {
             $Redirect = "products_suite.php" . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_Search", "Button_Search_x", "Button_Search_y", "v_alm_product_suitesPage")), CCGetQueryString("QueryString", array("s_search", "lbmanufacturer", "ccsForm", "v_alm_product_suitesPage")));
             if (!CCGetEvent($this->Button_Search->CCSEvents, "OnClick", $this->Button_Search)) {
                 $Redirect = "";
             }
         }
     } else {
         $Redirect = "";
     }
 }
Ejemplo n.º 5
0
 function Operation()
 {
     if (!$this->Visible) {
         return;
     }
     global $Redirect;
     global $FileName;
     $this->DataSource->Prepare();
     if (!$this->FormSubmitted) {
         $this->EditMode = true;
         return;
     }
     if ($this->FormSubmitted) {
         $this->PressedButton = "Button_DoSearch";
         if ($this->Button_DoSearch->Pressed) {
             $this->PressedButton = "Button_DoSearch";
         }
     }
     $Redirect = $FileName;
     if ($this->Validate()) {
         if ($this->PressedButton == "Button_DoSearch") {
             $Redirect = $FileName . "?" . CCMergeQueryStrings(CCGetQueryString("Form", array("Button_DoSearch", "Button_DoSearch_x", "Button_DoSearch_y")));
             if (!CCGetEvent($this->Button_DoSearch->CCSEvents, "OnClick", $this->Button_DoSearch)) {
                 $Redirect = "";
             }
         }
     } else {
         $Redirect = "";
     }
     if ($Redirect) {
         $this->DataSource->close();
     }
 }