Re: #setprops directive committed
"Eric B. Ridge" <[email protected]> Tue, 18 Oct 2005 09:05:41 -0400
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
On Oct 18, 2005, at 12:52 AM, Marcello H wrote:
> The #setprops directive would also be nice if the data is really
> coming
> out of a property file; something like
>
> #setprops as file "myprops.ini"
Just do this:
#setprops $p {
#include as text "myprops.ini"
}
Just note that "myprops.ini" will need to be in your "TemplatePath"
eric
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl