perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Inheritance in mebperl
Date Tue, 20 Apr 2004 19:23:25 GMT
Sreeram_Bazaru@bankone.com wrote:
> That is not working. It is displaying an error message that
> '../../base.epl file doesn't exist, even though it exists.
> Let me explain you my problem clearly. I have a base.epl file
> at the document root, which has header and footer. And there is
> sub directory inside document root. Inside sub directory I have a file
> some-file.epl, (this don't need to be base.epl). Inside this file I
> have
> some block whose content changes and the remaining content is fixed.
> I have two to three files to generate that block. If I put an
> Execute block in the some-file.epl and call I need to duplicate the
> some-file.epl
> for as many files as I have for the modifiable block content.
> So I want a way to call those files which generate modifiable block
> and wrap this output inside that block in the some-file.epl and wrap
> the whole content inside header and footer of base.epl in main
> directory. So this a bottom-up way of generating the content by call
> back method.

Sorry, it's not quite clear to me.

Can you give me an example (write down the directory structure, how files
should be incluided and what should be displayed by what request)

Gerald

P.S. Please keep the discussion on the list


> So please let me know a way to do that. I would appreciate your help.
>
> Thanks,
> Sreeram
>
> -----Original Message-----
> From: Gerald Richter [mailto:richter@ecos.de]
> Sent: Thursday, April 15, 2004 2:25 AM
> To: Bazaru, Sreeram (Card Services); embperl@perl.apache.org
> Subject: Re: Inheritance in mebperl
>
>
>>
>> Now is there any way that /subdir/page1.epl and /subdir/page2.epl
>> should inherit /subdir/base.epl and /subdir/base.epl in turn should
>> inherit from /base.epl..?
>
> In subdir/base.epl put a
>
> [! Execute ({isa => ../base.epl}) !]
>
> Gerald
>
> --------------------------------------------------------------------------
-
> Gerald Richter            ecos electronic communication services gmbh
> IT-Securitylösungen * Webapplikationen mit
> Apache/Perl/mod_perl/Embperl
>
> Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
> E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
> WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
> --------------------------------------------------------------------------
-
> Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
> Halle 6 Stand B38-452
>
> ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
> --------------------------------------------------------------------------
-
>
>
>
> **********************************************************************
> This transmission may contain information that is privileged,
> confidential and/or exempt from disclosure under applicable law. If
> you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution, or use of the information
> contained herein (including any reliance thereon) is STRICTLY
> PROHIBITED. If you received this transmission in error, please
> immediately contact the sender and destroy the material in its
> entirety, whether in electronic or hard copy format. Thank you
> **********************************************************************

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message