NVelocity Parse

23Jul08

A little thing that drove me completely insane

when using parse (appache ref) the path to the view includes the folder that you are in

say you are in the folder …/views/Blog
editing a view called one.vm
if you want to parse something in the same folder as one.vm you have to use

#parse(“Blog/two.vm”)
and if you happen to use a / before blog you ll get a nice exception that has a very unclear message

Just to note

Advertisements


No Responses Yet to “NVelocity Parse”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: