|
Loading...
|
velocity-dev@jakarta.apache.org
[Prev] Thread [Next] | [Prev] Date [Next]
DO NOT REPLY [Bug 21258] - provide access to underlying VelocityEngine instance of Velocity class bugzilla Tue Nov 30 06:50:57 2004
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=21258>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=21258
------- Additional Comments From [EMAIL PROTECTED] 2004-11-30 15:50 -------
How to use:
public class AppConfig {
public void init (...) {
// init app-wide velocity
Velocity.init (..);
}
}
public class Foo {
private VelocityEngine m_engine;
public void init (String velConfigFile, ...) {
..
if (velConfigFile != null) {
m_engine = new VelocityEngine ();
m_engine.init (velConfigFile);
} else {
m_engine = new MonostateVelocityEngine ();
}
}
// other methods use m_engine
}
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- DO NOT REPLY [Bug 21258] - provide access to underlying VelocityEngine instance of Velocity class bugzilla 2004/11/30
- DO NOT REPLY [Bug 21258] - provide access to underlying VelocityEngine instance of Velocity class bugzilla 2004/11/30
- DO NOT REPLY [Bug 21258] - provide access to underlying VelocityEngine instance of Velocity class bugzilla 2004/11/30 <=
- DO NOT REPLY [Bug 21258] - provide access to underlying VelocityEngine instance of Velocity class bugzilla 2004/11/30