Hi Philip,

thanks for your help.

----- Original Message -----
From: "Philip S Tellis" <[EMAIL PROTECTED]>
To: "ralf ullrich" <[EMAIL PROTECTED]>
Sent: Friday, June 28, 2002 4:33 PM
Subject: Re: [htmltmpl] html-template-java


> open HTML/Tmpl/Parsers/Parser.java
> function:
> private String getTagType(String tag)
>
>
> change (line 249):
> tag_type = tag;
>
> to:
> tag_type = tag.toLowerCase();
>
 This did the trick, tags do their job in uppercase now.
But if I may ask another (probably stupid) question: where does the
<TMPL_INCLUDE> tag search for the includes?

I tried two classes in different contexts:
1.: a class for the command-line. the templates are located in the same
directrory. when i run that class it finds it includes and parses them. no
problem in this scenario.

2.: a servlet class that reads it template via getPathTranslated(). The
template is parsed correctly and outputs exactly what i expect, except if I
put a <TMPL_INCLUDE NAME="inc.tmpl"> in my template.
I guess the servlet doesn't know where the inc.tmpl isnt located. So I put
"path", "c:/templates" in template_init, but that doesn't work either.
Did I get the use of path wrong?

Yours,

ralf





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to