CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Overriding the 'action form'

Print topic Send  topic

Author Message
David A. Lee
Posted: 05/22/2001, 10:22 PM

I want to be able to override the action form for events
Update/Insert/Delete/Cancel.
I have the same form that is called from several places, and I'd like
to have the calling form pass in somehow the form to return to after the
action.
I was considering using a session variable, but I cant find a way
to override the Cancel action. I'm using Perl with Templates.

These two lines show up at the beginning of the FormAction method

my $sActionFileName = "contactRecord.cgi";

if ( $sAction eq "cancel" ) { http_redirect( $sActionFileName ) }


I tried all the events and could not find one that would let
me insert any code between these 2 lines ...

I want to insert something like

my $sActionFileName = GetSessionVar("ReturnTo");

Any ideas anyone ???


--------------------------------------------------
David A. Lee
Dal Enterprises Inc.
dave@calldei.com
http://www.calldei.com

CodeCharge
Posted: 05/24/2001, 1:08 PM

We will be adding Before Cancel and After Cancel Events in the next release,
scheduled for the beginning of June.


"David A. Lee" <dave@calldei.com> wrote in message
news:9efheq$g2j$1@mail.tankhill.com...
> I want to be able to override the action form for events
> Update/Insert/Delete/Cancel.
> I have the same form that is called from several places, and I'd like
> to have the calling form pass in somehow the form to return to after the
> action.
> I was considering using a session variable, but I cant find a way
> to override the Cancel action. I'm using Perl with Templates.
>
> These two lines show up at the beginning of the FormAction method
>
> my $sActionFileName = "contactRecord.cgi";
>
> if ( $sAction eq "cancel" ) { http_redirect( $sActionFileName ) }
>
>
> I tried all the events and could not find one that would let
> me insert any code between these 2 lines ...
>
> I want to insert something like
>
> my $sActionFileName = GetSessionVar("ReturnTo");
>
> Any ideas anyone ???
>
>
> --------------------------------------------------
> David A. Lee
> Dal Enterprises Inc.
>dave@calldei.com
> http://www.calldei.com
>
>


   


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.