Re: Re: [Webmacro-devel] Current directory metaphor for including templates
"Marcello H" <[email protected]> Wed, 26 Apr 2006 22:41:34 +0200
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Perhaps another possibility for not having include problems, is to
have a better exception handling on includes etc. (So you don't have
to visit the wm.log in case of fire...)
workaround (in pseudo-code):
#set $includefile=3D"myinc.inc"
#include $includefile
#if ($includefile !=3D "") {
error in includefile : $includefile
}
The last line in $includefile should then be:
#set $includefile=3D""
This workaround did save me a couple of times, but is a bit nasty :-)
Perhaps usable, you never know who need this.
Greetings,
Marcel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642