Hi everyone,
I'm working on a intranet portal thang, and have set up a framework that
uses Execute to load the various components. That way, various
developers can be working on the different objects and the look and feel
of the page. The code for index.epl is below.
I created a similiar system a while ago, where reporting "objects" (raw
embperl code) were pulled from an Oracle database, executed, and printed
out in a cell in a table. If one of the objects had an error, the rest
of the objects would still be executed and displayed. Just the one cell
would contain the Embperl error message. This was a Apache::Registry CGI
that grabbed the embperl code and Executed it, then printed out the
results.
My question is... how can I get the same behaviour in my intranet portal
code below? with optDisableEmbperlErrorPage, I get a blank cell, or
whatever was returned until the error in the links.part code. I'd
prefer to see the embperl errors in the cell than have to tail the error
log...
Thanks everyone.
--------------------------------------------
[- Execute ('inc/header.inc') -]
[- $optDisableEmbperlErrorPage = 1 -]
<table>
<tr>
<td>
[- Execute ('inc/boxhead.inc', 'Links') -]
[- Execute ('parts/links.part') -]
[- Execute ('inc/boxfoot.inc') -]
</td>
<td>
[- Execute ('inc/boxhead.inc', 'Chatter') -]
[- Execute ('parts/chatter.part') -]
[- Execute ('inc/boxfoot.inc') -]
</td>
</tr>
</table>
[- Execute ('inc/footer.inc') -]
--
Regards,
Wim Kerkhoff, Software Engineer
Merilus, Inc.
[EMAIL PROTECTED]
S/MIME Cryptographic Signature