fex-team / jello

Front End Integrated Solution for J2EE Velocity.
206 stars 49 forks source link

vm中parse("x.vm")路径问题 #55

Closed bravf closed 9 years ago

bravf commented 9 years ago

在page下有两个vm:

page/pages/index.vm
page/pages/b.vm

在index.vm中引用b.vm

#parse("b.vm")

报错,

HTTP Status 500 - Unable to find resource 'b.vm'

改为下面就好了

#parse("page/pages/b.vm")

不支持相对路径么?

2betop commented 9 years ago

parse 不支持相对路径,用 #widget() 来引用吧。