DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9649>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9649

#include directive a bad choice...

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From [EMAIL PROTECTED]  2002-07-09 02:31 -------
It may be a bad choice, but there isn't much we really can do about it now.

It would be pretty simple to write your own #inc (or #woogie or #blech or...) that 
just 
extends org.apache.velocity.runtime.directive.Include() and just does something like :

public class Blech extends Include
{
 public String getName()
    {
        return "blech";
    }    
}

and that should do it.  Then, make sure velocity loads it by including it as a 
user.directive 
in the configuration, and then it should work just like #include() :

  #belch($thing)

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to