Roundcrisis

home about talks rss feed  rss

NVelocity Parse

23 Jul 2008

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

comments powered by Disqus