FAQ
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=32770>.
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=32770





------- Additional Comments From edgarpoce@gmail.com 2004-12-19 22:30 -------
Created an attachment (id=13786)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=13786&action=view)
Standalone Toolbox Loader Proposal

Apply it on org.apache.velocity.tools.

In order to work the engine runtime property "standalone.toolbox.path" must
return the path to the file with toolbox.xml format. The toolbox.xml format is
slightly modified to accept singleton lifecycle for tools.

Usage:
// Velocity Singleton model
VelocityContext ctx = new StandaloneContext() ;

// Velocity separate instance
VelocityEngine engine = new VelocityEngine();
engine.addProperty(StandaloneContext.PATH_KEY, "path");
engine.init();
StandaloneContext ctx = new StandaloneContext() ;
ctx.setToolbox(StandaloneToolboxManager.getToolbox(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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org

Search Discussions

  • Bugzilla at Dec 19, 2004 at 9:33 pm
    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=32770>.
    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=32770





    ------- Additional Comments From edgarpoce@gmail.com 2004-12-19 22:33 -------
    Created an attachment (id=13787)
    --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13787&action=view)
    Standalone Toolbox Loader Proposal Test

    Standalone Toolbox Loader Proposal Test

    --
    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: velocity-dev-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: velocity-dev-help@jakarta.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriesvelocity
postedDec 19, '04 at 9:30p
activeDec 19, '04 at 9:33p
posts2
users1
websitevelocity.apache.org

1 user in discussion

Bugzilla: 2 posts

People

Translate

site design / logo © 2021 Grokbase