In the upcoming 1.5 release, you can just double up your quotes to escape them:
#set( $foo = "The man said, ""Jump!"" ""No,"" said I.")
On 11/13/06, Barbara Baughman <[EMAIL PROTECTED]> wrote:
Instead of the big section on escaping, perhaps the documentation
should have the great workaround we
You should just need to use the same context when merging both templates.
or, if you are using VelocityView, add an application-scoped
java.util.Hashtable to your toolbox and put variables you wish to be
global into that.
On 11/21/06, rjain <[EMAIL PROTECTED]> wrote:
Hi
I have two templates T
On 12/6/06, Martin Tilsted <[EMAIL PROTECTED]> wrote:
Citat Will Glass-Husain <[EMAIL PROTECTED]>:
> Martin,
>
> If at all possible, use VelocityViewServlet from the Velocity Tools
> project. Although it works similarly It's better supported. (we've
> deprecated VelocityServlet in the latest r
On 12/6/06, Martin Tilsted <[EMAIL PROTECTED]> wrote:
...
> > But I don't understand how VelocityViewServlet, works similary to
> > VelocityServlet. Let my try if I understand VelocityViewServlet correct.
> >
> > 1: I don't have a class for each template. Insted I populate a View with
> > 'tool o
Actually, the resource loader is the issue. The
ClasspathResourceLoader is not as full featured as the
FileResourceLoader or the WebappLoader (from VelocityTools).
Specifically, it doesn't have functional implementations of
isSourceModified() or getLastModified(), these always return false and
0
The LinkTool automatically performs URL encoding on query data. The
easiest way to avoid it is to add the parameter manually:
$link.setAction('wishlist')?id='+id+'
On 12/8/06, Gustavo Straube Pereira <[EMAIL PROTECTED]> wrote:
Hi!
I want to parse a link to an action with some javascript varia
a "toolbox"? Do you have a
toolbox.xml set up to be used? See
http://jakarta.apache.org/velocity/tools/view/ for more on this.
Thanks.
Nathan Bubna wrote:
> First, make sure that the import tool is in the context:
>
> $import.class.name
>
> if that renders as "
If you don't need a specific object type and are using Velocity 1.5,
you can just use the new map syntax to create a map that you can add
properties to.
#set( $personnelRecord = { 'name' : "...", 'rank' : "...",
'serialNumber' : "..." } )
if you need to create a specific object, i'd recommend c
and what does your web.xml have?
On 12/13/06, Tod Thomas <[EMAIL PROTECTED]> wrote:
Nathan Bubna wrote:
> On 12/12/06, Tod Thomas <[EMAIL PROTECTED]> wrote:
>> Ok, I'm back looking at this. I can see Velocity loading in
>> Catalina.out yet I still have a proble
On 12/13/06, Dave <[EMAIL PROTECTED]> wrote:
I should elaborate...
We actually subclass VelocityViewServlet for each servlet in question
(overriding handleRequest()). I am suspcious that VVS is no longer actually
using our customer velocity.properties, which is:
---
resource.loader=cla
On 12/13/06, Dave <[EMAIL PROTECTED]> wrote:
Hmm, to elaborate further, the most recent lines of velocity.log report:
2006-12-14 00:10:40,208 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2006-12-14 00:10:40,210 - ResourceLoader instanti
x27;, "...") )
and so on...
On 12/13/06, Gary M. Catlin <[EMAIL PROTECTED]> wrote:
Thank you Nathan.
I do not need a specific object type, but also am not using Velocity
1.5. Is there an equivalent syntax available in 1.4 to allow me to
create the map?
gmc
Nathan Bubna wrote:
This is highly bizarre. Since this is the first i've heard of such a
problem with the VelocityViewServlet and you say you are extending it,
then i guess the question to ask is what does your extension do?
I'll try to think of other ways to discern where things are going
astray, but right now the
On 12/14/06, David Elliot <[EMAIL PROTECTED]> wrote:
Hi Claude,
Thank you very much, using template = super.getTemplate("x.vm") fixes
the problem (my custom resource loaders from velocity.properties work
for the VVS... hurrah!).
Can you point me towards some documentation regarding why:
temp
On 12/14/06, Tod Thomas <[EMAIL PROTECTED]> wrote:
Nathan Bubna wrote:
> and what does your web.xml have?
Sorry, plain vanilla:
velocity
org.apache.velocity.tools.view.servlet.VelocityViewServlet
org.apache.velocity.toolbox
/WEB-INF/to
unnel all Velocity and VelocityTools messages to the same
place, regardless of which servlet container you are using.
In short, the Tomcat people did what Geir could not and successfully
convinced me that it is a very bad idea to use commons-logging in a
webapp framework.
Claude
Le jeudi 14 décem
On 12/15/06, Tod Thomas <[EMAIL PROTECTED]> wrote:
Nathan Bubna wrote:
> some lines before the "Toolbox setup complete" message, there should
> have been a message saying "Using config file ''"
> What is the file used?
>
>> Still no
Hi Markus,
You've almost got things right. The ParameterParser is used for
parsing the parameters of the current ServletRequest. This means you
must have it as a request-scoped tool. When you try to put it as an
application-scoped tool, then the wrong thing is sent to the init()
method and th
If your tool is request-scoped, then you will need to extend the
VelocityViewServlet and override the requestCleanup(request, response,
context) method. You can retrieve the tool from the context using its
key and perform your cleanup there.
If the tool is session-scoped, then you'll pretty much
rs
developing tools and to us in developing and enhancing VelocityTools.
You've already helped me a great deal. I hope I'm not imposing.
Thanks again,
Matt
Nathan Bubna wrote:
>
> If your tool is request-scoped, then you will need to extend the
> VelocityViewServlet and ov
nn <[EMAIL PROTECTED]> wrote:
Thanks for the explanation it just works perfectly :)
Another question. I want to create a guestbook with velocity and
viewservlet. Therefore I want to create a form which posts the data. How can
I access the posted data?
Thanks,
Markus
> -Ursprüngliche Nachr
i would only recommend one of two approaches for such things:
application scoped tool or RuntimeInstance application attribute
On 12/22/06, Townson, Chris <[EMAIL PROTECTED]> wrote:
> What exactly is the lifecylcle of a directive? Is is the case
> that a userdirective class is instantiated and
What version of Velocity are you using? Are you using any event
handlers or anything? This is not standard Velocity behavior. You'll
have to give us some more of your config/impl details.
On 12/23/06, Simon Kittle <[EMAIL PROTECTED]> wrote:
Hey,
I'm having a bit of trouble figuring out some e
w can I modify the Content Type with
VelocityViewServlet?
Thanks a lot, merry x-mas & a happy new year :)
Markus
> -----Original Message-
> From: Nathan Bubna [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 21, 2006 6:23 PM
> To: Velocity Users List
> Subject:
If you are going to use the 2nd way, i would recommend checking out
the Velosurf project.
That said, i honestly don't see anything kludgy about have a second
servlet to handle form submissions. Updating the database and reading
from it are two totally separate functions.Task division is
perf
y driven by the desire
for VelocityStruts integration where Struts was responsible for being
the controller. i've long since stopped using VelocityStruts myself,
though.
Thanks,
Matt
Nathan Bubna wrote:
>
> If you are going to use the 2nd way, i would recommend checking out
> the Ve
Hi Xavier,
Are you really using Tomcat 5.5.2? It probably doesn't make a
difference for this issue, but i'd recommend moving to the latest
production release: 5.5.20, unless you are already on it.
Your web.xml doesn't appear to be valid XML. It is missing the
starting tag for your index servl
This doesn't appear to have anything to do with BSF. It just looks
like your "Guestbook" class is not visible to the application when
running in Tomcat.
How are you deploying the app to Tomcat? Is your Guestbook class in a
jar? If so, is that jar getting put in the webapp's WEB-INF/lib
folder?
rmally when the newEntry method prints the values the
guestbook class is visible to tomcat.
> -Original Message-
> From: Nathan Bubna [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 03, 2007 5:05 PM
> To: Velocity Users List
> Subject: Re: VVS & BSF & tomcat
&g
What version of the VelocityViewServlet are you taking that code from?
It hasn't looked that way in some time. I'd recommend taking a look
at a more recent version of the VelocityViewServlet's code to begin.
Beyond that, i can't really tell whether it is better for your
application to do what VV
I'm a little surprised that the method you tried is failing. I
haven't written many custom directives though, so i'm not sure how to
help. Does anyone else out there know why the context provided to
the directive wouldn't have access to the tools?
That said, where instantiated tools is kept va
from the VelocityViewServlet in velocity-tools-1.2-src.zip. I guess
the basic question was - short of profiling the app - is one method faster
and/or better than the other? It would seem to me like the pooled
VelocityWriters are the way to go?
John
On 1/4/07, Nathan Bubna <[EMAIL PROTECTED]&
A simple answer...
Yes! :) $myString.substring(0, 2)
On 1/10/07, Gustavo Straube Pereira <[EMAIL PROTECTED]> wrote:
Hi!
A simple question...
It's possible to get a substring of a String with Velocity like
String.substring()?
Thanks!
--
Gustavo Straube Pereira
[EMAIL PROTECTED]
Nobla Softw
Velocity will only do that if you use the singleton API. If you use
separate VelocityEngines for each app, then you shouldn't have a
problem.
On 1/12/07, Ryan Clifton <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to run multiple web-apps under a single JVM that are
concurrently running their
at that should be the default unless there's a significant problem
with it.
Thanks for you answer, I found some docs about the Singleton API.
Digging into it now.
Nathan Bubna wrote:
> Velocity will only do that if you use the singleton API. If you use
> separate VelocityEngines for eac
Ok, here's a few questions:
Is there any particular reason that you are using the
FileResourceLoader? Have you tried getting this to work with the
WebappLoader that the VVS uses by default?
Can you show us some log output for both apps?
On 1/12/07, Ryan Clifton <[EMAIL PROTECTED]> wrote:
We
here is where i hit reload on the other webapp, but the config
doesn't run again.
Nathan Bubna wrote:
> Ok, here's a few questions:
>
> Is there any particular reason that you are using the
> FileResourceLoader? Have you tried getting this to work with the
> WebappLoader that
Can you share the code you're trying? I have no problem putting \ in
my templates with Velocity 1.4.
On 1/23/07, Marcus Sundman <[EMAIL PROTECTED]> wrote:
Hi,
If I use "\" it spews out a parse error, and if I use "\\" the result
is two backslashes. I've tried two different versions (1.4 and wh
I haven't used Spring with Velocity, so i can't help much. You may
have more luck on the spring forums. That said, here's a few thoughts
that may or may not help.
On 1/22/07, darrowj <[EMAIL PROTECTED]> wrote:
I have a client that wants to be able to display a totally different set of
Velocit
Even if you don't make a patch, putting it in JIRA will help us
remember the idea. :)
On 1/27/07, Steve O'Hara <[EMAIL PROTECTED]> wrote:
I couldn't see it on JIRA so I'd thought I'd ask here.
I would like to be able to overload macros i.e. same name, different
number/type of parameters.
I will
The Apache Velocity project is pleased to announce the first release
candidate for VelocityTools 1.3. You may download this release from:
http://velocity.apache.org/download.cgi
Significant changes since VelocityTools 1.2 are:
- New tools: ContextTool for accessing context data, ResourceTool
what versions of VelocityTools and Digester are you using?
On 1/29/07, Travis Bear <[EMAIL PROTECTED]> wrote:
Hi All!
I'm having a problem with the Velocity Layout Servlet failing to load
the toolbox when a certain tool is configured in. From the sound of it,
it would seem like this would be
ols/releases/velocity-tools-1.2/index.html
I'm willing to upgrade, but the download link is currently broken.
-Travis
On Mon, 2007-01-29 at 12:32 -0800, Nathan Bubna wrote:
> what versions of VelocityTools and Digester are you using?
>
> On 1/29/07, Travis Bear <[EMAIL PROTECT
s there. If
you were to make any patches to change this, i'd definitely consider
them.
Thanks!
-Travis
On Mon, 2007-01-29 at 13:18 -0800, Nathan Bubna wrote:
> The release downloads have moved since 1.2, so the documentation with
> that release is out of date. Downloads can
I'd recommend keeping all your jars in the application lib to begin
with. That said, what jars are you using? Also, have you tried
running one of the example app's that came with the velocity-tools-1.2
distribution? If you look in WEB-INF/lib directory of those WARs, you
should find the jars you
ting of changes, see the change log.
http://velocity.apache.org/tools/devel/changes.html
VelocityTools 1.3 is available in either source or binary form at:
http://velocity.apache.org/download.cgi#tools
For more information about VelocityTools go to:
http://velocity.apache.org/tools/devel/index.h
Have you read this? http://velocity.apache.org/engine/devel/webapps.html
The example applications (especially the "simple" one) provided with
VelocityTools are probably the easiest starting point.
On 2/20/07, Dave, Tejas <[EMAIL PROTECTED]> wrote:
Hi All,
I was wondering if someone can help me
On 2/20/07, janbrito <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to get Velocity working on a struts application. This is what
I've dono so far:
Have you looked at the "struts" example application that comes with
VelocityTools? That might help you find problems in your setup.
1) Added to the
I imagine you could get pretty far by wrapping the RubyObjects in a
more Velocity-friendly object that takes advantage how Velocity treats
get(String) methods before putting it into the context.
Perhaps something like:
public class RubyObjectWrapper {
private RubyObject foo;
public RubyObje
but as it
is, i make precious little use of event handlers and don't know. i
might dig around and see what i can find though.
thanks,
Michael
On 2/20/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
>
> I imagine you could get pretty far by wrapping the RubyObjects in a
>
();
}
}
}
On 2/20/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
On 2/20/07, Michael <[EMAIL PROTECTED]> wrote:
> How would the RubyObjectWrapper work when specifying method argument,
> e.g$jrubyObject.testMethod( "argument1", "argument2" ) ?
hmm. right now, i see onl
d( "argument1",
"argument2" )
thanks,
Michael
On 2/20/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
>
> I imagine you could get pretty far by wrapping the RubyObjects in a
> more Velocity-friendly object that takes advantage how Velocity treats
> get(String) method
This has been done for Jython...
http://wiki.apache.org/velocity/JythonUberspect
On 2/20/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
Oh, and the other thing that might work is to implement a custom
Uberspect that knows how to properly look up methods on a RubyObject.
This would proba
pector together, how does one set a new
Uberspector into Velocity?
On 2/20/07, Will Glass-Husain < [EMAIL PROTECTED]> wrote:
>
> I like the Uberspector idea. Nice and generic. Cleanly provides a
> bridge between Velocity and Ruby syntax.
>
> On 2/20/07, Nathan Bubna <[E
Thanks for your comments. I made the changes but I'm still getting the same
error when $msg.label.portal.welcome gets executed. It's like for some
reason Velocity can't see the Struts ApplicationResource file and can't find
the message.
Any body see what's missing here?
Hmm. That sucks, i can't get it to work either. Neither do i see any
testcases for it. I also thought Geir had implemented this (might do
some archive searching on this). But, i've long since been in the
habit of doing the manual escaping quotes anyway and still do without
thinking about it:
03385&w=3
http://marc2.theaimsgroup.com/?l=velocity-user&m=112264108203085&w=3
On 2/21/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
Hmm. That sucks, i can't get it to work either. Neither do i see any
testcases for it. I also thought Geir had implemented this (might d
response to that:
http://marc.theaimsgroup.com/?l=velocity-user&m=106968934203535&w=2
Geir? Is the code for this out there still? It looks like it'll be
too late for 1.5, but perhaps we can get it in 1.6...
On 2/21/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
having a hard tim
Please email the user list with your questions.
The poorly named "Developer's guide" is now located here:
http://velocity.apache.org/engine/devel/developer-guide.html
The section about resource loader configuration is toward the bottom.
On 2/22/07, Chirag Vithlani <[EMAIL PROTECTED]> wrote:
I
You might consider searching the archives of the jboss-user list or
asking them directly. This doesn't appear to be an issue with
Velocity specifically, but rather about how Jboss handles
jars/classpaths.
On 2/27/07, Harish Hirasave <[EMAIL PROTECTED]> wrote:
I tried Velocity 1.5 beta but it di
here's a link to their archives. i don't use jboss, so i can't help
much myself. hope this helps instead:
http://www.mail-archive.com/jboss-user@lists.jboss.org/
On 2/27/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
You might consider searching the archives of the jboss-use
Yes and no. Even if we fix the known issue, that won't necessarily
mean that a session will be created. The VelocityViewServlet is not
going to go creating sessions without some cause; i'll never let it do
that. However, if there tools declared to be session-scoped in the
toolbox.xml, then it
On 3/5/07, Steven Shaw <[EMAIL PROTECTED]> wrote:
Is there any way to split a long line?
e.g.
# macro (aVeryLongMacroName $aVeryLongParameterName1
$aVeryLongParameterName2 $aVeryLongParameterName3
$VeryLongParameterName4)
I tried "\" at the end of the line but that wasn't it.
If you use the
You can also use the EscapeTool:
http://velocity.apache.org/tools/devel/generic/EscapeTool.html
On 2/28/07, Федор Дыдыкин <[EMAIL PROTECTED]> wrote:
Hi!
I need to escape special symbols (' and " for now) both in JavaScript and HTML
in many of my already written templates.
Now i've found how
I'm not aware of any other way to point Velocity to macros that should
be global. However, you may still be able to take them from your
database:
http://velocity.apache.org/engine/devel/apidocs/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.html
or from your String:
http:
String literal definitions in VTL (Velocity Template Language) are not
the same as those in Java. For example, the use of single quotes to
delineate a string do not imply a character. Instead, they simply
mean that the string is not to be interpolated. So, within a single
quoted string literal,
yeah, getKeys() tells you what is available to the template, not what
the template is looking for. To do that, you have to process the
template itself. You could use this:
http://svn.apache.org/repos/asf/velocity/engine/trunk/experimental/templatetool/
On 3/6/07, Dave, Tejas <[EMAIL PROTECTED]
- What servlet are you using? The VelocityServlet (which is
deprecated) or the VelocityViewServlet (which is part of VelocityTools
and is the replacement for the VelocityServlet)?
- Use of the FileResourceLoader in a webapp environment is not
recommended. The VelocityTools project comes with a
r the WebappLoader tool but could not find it. Could
you send me the URL? Thanks.
if you are using the VelocityViewServlet, it uses it by default.
javadoc is here:
http://velocity.apache.org/tools/releases/1.3/javadoc/org/apache/velocity/tools/view/servlet/WebappLoader.html
-Original M
On 3/7/07, Rodney J Woodruff <[EMAIL PROTECTED]> wrote:
This probably has been asked a number of times but I can't find the search
for the mailing list archives. So, here goes:
1. Can someone tell me where the search for the mailing list archives are?
User List
http://www.nabble.com/Velocity--
This is either the first time i've heard a proposal like this, or else
those who've made such suggestions have not been persistent in them.
If you would like this to be remembered, i'd recommend adding it to
the Wiki page for the whitespace issue:
http://wiki.apache.org/velocity/VelocityWhitespac
e it a shot but looks like just calling
Velocity.init() is not enough.
-Original Message-----
From: Nathan Bubna [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 5:53 PM
To: Velocity Users List
Subject: Re: Velocity template file path
On 3/7/07, George, Nixon <[EMAIL PROTECTED]> wr
Please use the user@velocity.apache.org list for these sorts of
questions. that said, i believe you are looking for these documents:
http://velocity.apache.org/engine/devel/user-guide.html
http://velocity.apache.org/engine/devel/vtl-reference-guide.html
On 3/8/07, Diane Soini <[EMAIL PROTECTED]
On 3/12/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
I upgraded to Velocity 1.5 and some of my templates started to fail.
Not sure if this represents an error in my existing templates, an
error in Velocity 1.5, or just one of those things that should be
documented.
From the Velocity 1.5 release
Thanks, Michael!
On 3/12/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
https://issues.apache.org/jira/browse/VELOCITY-528
On 3/12/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
> On 3/12/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
> > I upgraded to Velocity 1.5 and s
use formal notation:
${foo}.bar
On 3/15/07, Dave Hallam <[EMAIL PROTECTED]> wrote:
Hi,
I have a template that contains the following:
$foo.bar
The variable is foo. The ".bar" bit is just text so if $foo = hello, the
rendered output should say
hello.bar
I've tried using \ but to no avail b
On 3/15/07, Claude Brisson <[EMAIL PROTECTED]> wrote:
Hi Tim.
The tools can easily be used without the VelocityViewServlet.
import org.apache.velocity.tools.view.XMLToolboxManager;
...
XMLToolboxManager manager = new XMLToolboxManager();
manager.load("./toolb
On 3/17/07, peter <[EMAIL PROTECTED]> wrote:
Hello!
I want to write a Servlet basing on the velocity-template-engine.
Everything works fine, I have only difficultiies reading a XML file with SAX
and getting the sax-events into the velocity-context.
Could anyone give me a hint how to tell S
it's up there now.
On 3/16/07, johne <[EMAIL PROTECTED]> wrote:
Velocity 1.5 was placed on http://repo1.maven.org/maven2/ with group id
org.apache.velocity.
Is it possible to have the new velocity-tools 1.3 placed in a similar
manner?
Regards,
John Eichelsdorfer
http://www.jobbank.com jobban
That's really odd. Especially if the other tools are being init'ed.
I'm not sure what would cause this, as i don't use Spring's Velocity
support much. But, out of curiousity, what version of Spring and
what version of VelocityTools?
Also, try putting a log out into your local copy of
BrowserSn
ring 1.2.8 source and look around for other ideas on
what it might be.
perhaps later... in the meantime, maybe someone else here or on the
spring forums can shed some light on this.
Charlie
Nathan Bubna said the following on 3/20/2007 5:26 PM:
> That's really odd. Especially if the
On 3/22/07, yoursoft <[EMAIL PROTECTED]> wrote:
Dear List,
I found that in new Velocity the VelocityServelt depricated, and will be
removed.
I would like to migrate my existing sources to new structure (assign all
*.vm to VelocityViewServelt (VVS) (or extend VVS as VelocityServelt?) ),
but I ha
On 3/22/07, YourSoft <[EMAIL PROTECTED]> wrote:
Dear Nathan,
I have only one question:
Which is the main adventage the one VelocityViewServelt
assign to *.vm over the extends VVS?
this isn't really a valid comparison, since you can extend VVS *and*
assign your subclass to *.vm, if you want to
On 3/23/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
I'm developing an Eclipse plug-in that uses Velocity. In fact, There
are three plug-ins that use Velocity. One of these was built with
Velocity 1.5. The other two were build with Velocity 1.4. All three
were working nicely. I updated the
You don't need the AvalonLogChute. This is a debug level message,
because it is non-essential. It is only for backwards compatibility
that Velocity's Runtime will by default try to use Avalon LogKit
before falling back to other LogChute implementations.
On 3/23/07, Michael Giroux <[EMAIL PROTEC
On 3/23/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
> What platform are you running on (Web container / J2EE container)?
This is an Eclipse plug-in.
> Are you running in an EAR / WAR?
No.
> If yes, would it be possible to move the
> velocity jar out of the modules and into the common lib di
if there's a list for eclipse plugin developers, they might be able to
help you more at this point.
On 3/23/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
On 3/23/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
> > What platform are you running on (Web container / J2EE con
On 3/23/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
On 3/23/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
> You don't need the AvalonLogChute. This is a debug level message,
> because it is non-essential. It is only for backwards compatibility
> that Velocity's
nope, it's just looking for one of the Avalon LogKit classes. nothing
wrong there, since that's not the log system you're using. i will try
to make those messages look as benign as they are for the next
version. just to avoid user confusion when debugging.
On 3/23/07, Michael Giroux <[EMAIL PR
Can you bring that down to just one 1.5 jar in the system? We changed
some classloading stuff in 1.5 to deal with some other common
classloading problems. I'm wondering if you needed 3 jars before but
now that is causing this problem. Just a guess...
On 3/23/07, Michael Giroux <[EMAIL PROTECTE
On 3/27/07, David Donohue <[EMAIL PROTECTED]> wrote:
Sorry if this has been addressed but I have searched and cannot find the
complete answer.
Unfortunately, i don't think there is any tutorial or example code out
there for what you ask. Not much effort has been put into
supporting this (t
etToolboxManager.
I wish to forego web.xml as well. I am using Jetty 6.1.1 and I am pretty
sure this can support fully programmatic configuration of a WebAppContext
(not exactly sure how yet).
I look forward to your further explanation, and to Tools 2.0 as well!
David
On 3/27/07, Nathan Bubna <
oops, meant to send this to the list too...
-- Forwarded message --
From: Nathan Bubna <[EMAIL PROTECTED]>
Date: Mar 29, 2007 9:16 AM
Subject: Re: how to configure Velocity entirely programmatically?
To: [EMAIL PROTECTED]
On 3/29/07, David Donohue <[EMAIL PROTECTE
On 3/29/07, Nathan Bubna <[EMAIL PROTECTED]> wrote:
oops, meant to send this to the list too...
-- Forwarded message --
From: Nathan Bubna <[EMAIL PROTECTED]>
Date: Mar 29, 2007 9:16 AM
Subject: Re: how to configure Velocity entirely programmatically?
To: [EMAIL PROT
ant be found. Please guide me.
are you using the VelocityViewServlet? if not, how are you
configuring your VelocityEngine (or the singleton, if that's what
you're using)? what are your velocity.properties?
Thanks,
Tejas
[EMAIL PROTECTED]
-----Original Message-
From: Nathan
Yes, unfortunately the wildcard aspect of request path restrictions is
broken for any wildcard paths longer than the scope of the tool (so
longer than 7 chars for a request-scoped tool). I noticed this
shortly after the release and have fixed it. I'm thinking about
trying to put a 1.3.1 release
EB-INF directory.
Velocity initialization:
Velocity.init();
So how can I use WebappLoader to find the template(*.vm)
Thanks in advance for the response
Tejas
-Original Message-----
From: Nathan Bubna [mailto:[EMAIL PROTECTED]
Sent: Friday, March 30, 2007 7:30 PM
To: Velocity Users List
Subje
just to confirm, i get the same error for that macro, and i don't see
anything wrong with it.
i'm also surprised that the template i put the macro in still works,
with the parse exception only showing up in the logs. anyone know why
VelocimacroManager.MacroEntry.parseTree() only logs parse excep
Use a different context for different calls to evaluate().
On 4/4/07, Ashish Parikh <[EMAIL PROTECTED]> wrote:
Hello,
Velocity in caching the variables created in a velocity template.
E.g.
1) In template aTemp.vm, I have
#set ($animal = "Monkey")
The aTemp.vm has been evaluated by Velocity.ev
On 4/4/07, dizzi <[EMAIL PROTECTED]> wrote:
Hello,
I have 2 questions
1.
Is there way how to use 2 velocity counters in 2 nested loops?
(i didnt test it but my colleague had problem with that)
not sure quite what you mean, but i suspect that you can't do that.
you can always define as many of
1 - 100 of 889 matches
Mail list logo