oops :)
good idea, Nathan -- please see
https://gist.github.com/corinthino/44fd09e730d08ab44dfb
On 3 March 2015 at 01:10, Nathan Bubna wrote:
> Chris,
>
> The attached was not attached. :) Can you put it in a gist or something?
>
> -nathan
>
> On Fri, Feb 27, 2015 at
Hi,
I have an app that is using Velocity with a 2-phase layout render (using
Spring VelocityLayoutView in this case). However, Spring's layout view
effectively restricts you to having just the one "screen_content" area in
the layout. What I wanted to be able to do was have an arbitrary number of
"
Hi all,
I've long thought that the Velocity could do with a better editor plugin
for Eclipse. I know there are a 2 or 3 out there already (veloedit being my
usual plugin of choice) but they're beginning to look a bit outdated next
to some of the rather nice XText-based editors I've seen for things
... and, of
course, anyone is now free to make the necessary changes for this,
should they wish :)
Cheers,
Chris
On 12 May 2011 01:05, Nathan Bubna wrote:
> On Wed, May 11, 2011 at 3:51 PM, Christopher Townson
> wrote:
>> The source jar can be obtained from
>> http://christop
this was also mentioned in a recent thread, which may be what you are
looking for:
http://code.google.com/p/velocity-validator/
Chris
On 6 February 2012 15:16, Chad La Joie wrote:
> On Mon, Feb 6, 2012 at 10:14, Nathan Bubna wrote:
>> Pre-validating templates would fall in the "advanced uses"
ContextTool is probably what you're after ...
http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/view/tools/ContextTool.html
On 6 November 2011 15:18, Mark Fenbers wrote:
> Is there a way from within a template to list all of the variables that have
> been exposed to
if you have
public class UserData {
private Address address;
public Address getAddress() { return address; }
}
public class Address {
private String line1;
public String getLine1() { return line1; }
}
In your template ...
$userData.address.line1
or
$userData.getAddress()
On 9 October 2011 13:07, Andrew Ducker wrote:
> Can I have a sub-class?
>
yes - the object graph can be any depth you like
-
To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org
For additional commands, e-mail: user-h...
> Spring and Velocity are both under the Apache license. So, licensing
> something that integrates the two under the GPL is a non sequitur.
> And this is an Apache list, so you're going to get a little Apache
> sermon, like it or not.
>
I expected nothing less :)
The non-sequiter argument, vis-a
r us in future spring/velocity projects. Apache or BSD
> licensing would be great. :)
>
> On Wed, May 11, 2011 at 3:00 AM, Christopher Townson
> wrote:
>> I thought some on this list might like to know about a small "glue
>> library" I wrote recently as a programming
I thought some on this list might like to know about a small "glue
library" I wrote recently as a programming exercise for integrating
Velocity with Spring and released on GPL for any interested parties:
http://christophertownson.com/projects/spring-velocity/
I have often thought that the integra
Nitin Lokhande wrote:
> Can anybody provide me enough learning material for velocity?
> I really want to learn it in just 2 or 3 days.
> Please help.
>
> Thanks,
> Nitin Lokhande.
>
Hi Nitin,
The user guide can be found here:
http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.ht
>>> On 8/2/07, nageshyakkanti <[EMAIL PROTECTED]> wrote: Hi,
>>>
[snip]
>>> my velocity.properties is as follows resource.loader = classpath
>>> file.resource.loader.description = File Resource Loader
>>> file.resource.loader.class =
>>> org.apache.velocity.runtime.resource.loader.FileResourceLo
On 8/1/07, Nathan Bubna <[EMAIL PROTECTED]> wrote: Change the
url-pattern under the servlet-mapping for the velocity servlet to
"/velocity/*" instead of "*.vm"
Joe Kramer wrote: That doesn't help, I still get velocity template on
any URL, and navigating to /velocity/ produces Exception:
org.apa
14 matches
Mail list logo