CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 more events, like AfterOperations

Print topic Send  topic

Author Message
Ronald
Posted: 01/03/2006, 11:35 AM

I would really appreciate more events.

My "most wanted": AfterOperations!!
In the block after Execute Components, there's no way of stopping a redirect from happening. There are many occasions in which I don't want a redirect to occur.
Besides that, the ability to add custom code in between operation() and show() is a wonderful thing to have.

Therefore, I would like the code to become something like this:

  
//Execute Components @1-C7EA9D8A  
$menu->Operation();  
$menuitem->Operation();  
//End Execute Components  
  
$CCSEventResult = CCGetEvent($CCSEvents, "AfterOperations", $MainPage);  
  
//Go to destination page @1-85F29D52  
if($Redirect)  
{  
    $CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);  
    $DBdb->close();  
    header("Location: " . $Redirect);  
    unset($menu);  
    unset($menuitem);  
    unset($Tpl);  
    exit;  
}  
//End Go to destination page  
  
//Show Page @1-D4405322  
$menu->Show();  
$menuitem->Show();  

Is there some way to already add this to the CCS program, so that it is available like any other events?

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.