Roundcrisis

About Presentations Bytesize Sessions 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

Categories:   NVelocity

Want to discuss this post? the best place right now for me is mastodon, please message me @roundcrisis@types.pl with your comment or question.