Title: Message
Sorry, forgot to answer your questions:
 
1.  globalMacros.vm is where is is so it can be loaded from the classpath.  You can change this value by editing velocity.properties in struts-menu.jar or creating your own.  I wish this file could be included in the JAR, but it doesn't work - here's why:
 
 
2.  I named then .html since they are outputing HTML.  If I was spitting out a Word document, I'd use a .doc extension.  Feel free to rename them and do whatever you like with them - nothing is hardcoded, everything is configurable (at least w/ the Velocity templates).
 
HTH,
 
Matt
-----Original Message-----
From: Tadeu João Schlickmann Júnior [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 11:53 AM
To: Matt Raible
Subject: Bug Fixed - globalMacros.vm and xtree.vm (.html)

Hello Mr. Raible, my name is Tadeu and last week I sent you an e-mail about mistake in CoolMenuDisplay4’s code. I would like to congratulate for your answer, it was very fast.

Together with e-mail are three files (globalMacros.vm, xtree.vm and struts-menu.dtd), and about these files I’ve two questions, but first I’ll explain my adaptations.

 

globalMacros.vm – there was a word “#end” plus, at line 16 then I removed it.

xtree.vm – I updated it to support target attribute, I add three lines.

struts-menu.dtd – I found a file at SourceForge (patches), but it is incomplete. This file I re-write.

 

The questions are:

1)       Why are not globalMacros.vm at same place of templates or just in /WEB-INF/? I think it is easier to find it at these places.

2)       Why the templates files has extension .html otherwise .vm?

 

I hope that you agree with my adaptations.

 

Best regards,

Tadeu Jr.

 

 

Tadeu João Schlickmann Júnior

Analista de Sistemas
[EMAIL PROTECTED] 
 
Interativa Soluções – http://www.intercom.com.br

Equipe de Evolução Tecnológica

Fone: +55 (48) 212-4513

 

 

Reply via email to