Re: Re[3]: Two frame application

2001-09-04 Thread Gerald Richter
> > In CGI mode you can't use $req because $req is a feature available when > you run Embperl under of mod_perl. > You can use EMbperl's request object as Lukas does with: [- $req = shift; $req->{appname} = "test app"; -] but you can use Embperl's predefined variable $req_rec wh

Re: Re[2]: Two frame application

2001-09-04 Thread Gerald Richter
> > Hmmm either in CGI mode? > when running as CGI script everytime is the first time Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post:

Re[3]: Two frame application

2001-09-04 Thread Luiz Fernando B. Ribeiro
Olá lukas, Reply to your message: LFBR>> If you put the $req stuff into [!!] block it will be executed just the LFBR>> first time the page is loaded. LZ> Hmmm either in CGI mode? In CGI mode you can't use $req because $req is a feature available when you run Embperl under of mod_perl. Sem mai

Re[2]: Two frame application

2001-09-03 Thread Lukas Zapletal
Hello Luiz, Monday, September 03, 2001, 3:25:38 PM, you wrote: LFBR> Olá lukas, Olá LFBR> If you put the $req stuff into [!!] block it will be executed just the LFBR> first time the page is loaded. Hmmm either in CGI mode? Regards Lukas Zapletal [[EMAIL PROTECTED]] web programmer Bach

Re: Two frame application

2001-09-03 Thread Luiz Fernando B. Ribeiro
Olá lukas, Reply: LZ> I have these files: LZ> /constants.epl LZ> /topbar/base.epl LZ> /main/base.epl LZ> constants.epl: LZ> [! LZ> use Carp; LZ> $req = shift; LZ> $req->{appname} = "test app"; LZ> !] LZ> I need to execute constants in both bases. Execute('../

Re: Two frame application

2001-09-03 Thread Gerald Richter
> > I have these files: > > /constants.epl > /topbar/base.epl > /main/base.epl > > constants.epl: > [! > use Carp; > > $req = shift; > $req->{appname} = "test app"; > !] > > > I need to execute constants in both bases. Execute('../constants.epl') doesn`t > work. How can I d

Re: Two frame application

2001-09-03 Thread andrewo
On Mon, Sep 03, 2001 at 09:14:30AM +0200, Lukas Zapletal wrote: EMBPERL_OBJECT_ADDPATH is your friend. It is *always* added to the searchpath. I usually have something like this: EMBPERL_OBJECT_STOPDIR=/your/www/root EMBPERL_OBJECT_ADDPATH=/your/www/root/defaults So something like: /your/www/

Two frame application

2001-09-02 Thread Lukas Zapletal
Hello EmbPerl, I have these files: /constants.epl /topbar/base.epl /main/base.epl constants.epl: [! use Carp; $req = shift; $req->{appname} = "test app"; !] I need to execute constants in both bases. Execute('../constants.epl') doesn`t work. How can I do it?